summaryrefslogtreecommitdiff
path: root/src/utils.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.hh')
-rw-r--r--src/utils.hh6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/utils.hh b/src/utils.hh
index 06df21a1..9eced1c2 100644
--- a/src/utils.hh
+++ b/src/utils.hh
@@ -113,12 +113,6 @@ private:
// *** Misc helper functions ***
-template<typename T, typename... Args>
-std::unique_ptr<T> make_unique(Args&&... args)
-{
- return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
-}
-
template<typename T>
bool operator== (const std::unique_ptr<T>& lhs, T* rhs)
{