summaryrefslogtreecommitdiffstats
path: root/src/Globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Globals.h')
-rw-r--r--src/Globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Globals.h b/src/Globals.h
index 1f354ae77..cee2094bc 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -436,7 +436,7 @@ typename std::enable_if<std::is_arithmetic<T>::value, C>::type CeilC(T a_Value)
template <class T, class... Args>
std::unique_ptr<T> make_unique(Args&&... args)
{
- return std::unique_ptr<T>(new T(args...));
+ return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}
// a tick is 50 ms