summaryrefslogtreecommitdiffstats
path: root/include/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-06-04 19:19:58 -0400
committerDavid Robillard <d@drobilla.net>2021-06-04 19:19:58 -0400
commitb760e11d5f9f4d25919a566ef727164da4376062 (patch)
tree6ade88a43041b62b03247bb73b73a481c7931053 /include/ingen
parentfef4ce2b39b1a00609122fe37e2378be2fa9319f (diff)
downloadingen-master.tar.gz
ingen-master.tar.bz2
ingen-master.zip
Switch to C++14 and fix build with GCC 10HEADmaster
GCC was having problems with this make_unique overload, but I don't care about C++11 compatibility at this point anyway, so it's easiest to just remove it.
Diffstat (limited to 'include/ingen')
-rw-r--r--include/ingen/memory.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/ingen/memory.hpp b/include/ingen/memory.hpp
index 82e98bdf..6a62d317 100644
--- a/include/ingen/memory.hpp
+++ b/include/ingen/memory.hpp
@@ -29,13 +29,6 @@ void NullDeleter(T* ptr) {}
template <class T>
struct FreeDeleter { void operator()(T* const ptr) { free(ptr); } };
-template <typename T, typename... Args>
-std::unique_ptr<T>
-make_unique(Args&&... args)
-{
- return std::unique_ptr<T>{new T{std::forward<Args>(args)...}};
-}
-
} // namespace ingen
#endif // INGEN_MEMORY_HPP