diff options
author | worktycho <work.tycho@gmail.com> | 2014-10-12 13:17:29 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-10-12 13:17:29 +0200 |
commit | 6a448be88ce2d8eba3d127989978a1045b54ea6f (patch) | |
tree | 5ada358d544d55b4a8d9d2ee909f513752e54f70 /src | |
parent | Update World.cpp (diff) | |
download | cuberite-6a448be88ce2d8eba3d127989978a1045b54ea6f.tar cuberite-6a448be88ce2d8eba3d127989978a1045b54ea6f.tar.gz cuberite-6a448be88ce2d8eba3d127989978a1045b54ea6f.tar.bz2 cuberite-6a448be88ce2d8eba3d127989978a1045b54ea6f.tar.lz cuberite-6a448be88ce2d8eba3d127989978a1045b54ea6f.tar.xz cuberite-6a448be88ce2d8eba3d127989978a1045b54ea6f.tar.zst cuberite-6a448be88ce2d8eba3d127989978a1045b54ea6f.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/Globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Globals.h b/src/Globals.h index 5c5a8b3d2..b84607355 100644 --- a/src/Globals.h +++ b/src/Globals.h @@ -420,8 +420,8 @@ typename std::enable_if<std::is_arithmetic<T>::value, C>::type CeilC(T a_Value) //temporary replacement for std::make_unique until we get c++14 -template< class T, class... Args > -std::unique_ptr<T> make_unique( Args&&... args ) +template <class T, class... Args> +std::unique_ptr<T> make_unique(Args&&... args) { return std::unique_ptr<T>(new T(args...)); } |