diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-03-12 15:27:54 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-07-19 08:47:14 +0200 |
| commit | 7a79cbbc811a643ef193de0790609cd7bfea61fc (patch) | |
| tree | 051748930a03aab4967ee94ebc50d5a3846f5934 /src/utils.hh | |
| parent | fbffd86f85445623a6a8981a93d8a9f763d98af7 (diff) | |
Migrate code to c++14
Diffstat (limited to 'src/utils.hh')
| -rw-r--r-- | src/utils.hh | 6 |
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) { |
