Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarRefPtr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarRefPtr.hpp')
-rw-r--r--source/core/StarRefPtr.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarRefPtr.hpp b/source/core/StarRefPtr.hpp
index 906d4ff..8fabcdb 100644
--- a/source/core/StarRefPtr.hpp
+++ b/source/core/StarRefPtr.hpp
@@ -278,7 +278,7 @@ RefPtr<Type1 const> as(RefPtr<Type2 const> const& p) {
template <typename T, typename... Args>
RefPtr<T> make_ref(Args&&... args) {
- return RefPtr<T>(new T(forward<Args>(args)...));
+ return RefPtr<T>(new T(std::forward<Args>(args)...));
}
template <typename T>