diff options
Diffstat (limited to 'source/blender/blenlib/BLI_resource_scope.hh')
-rw-r--r-- | source/blender/blenlib/BLI_resource_scope.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_resource_scope.hh b/source/blender/blenlib/BLI_resource_scope.hh index e5a698f25f1..6a98c2dcc1c 100644 --- a/source/blender/blenlib/BLI_resource_scope.hh +++ b/source/blender/blenlib/BLI_resource_scope.hh @@ -148,7 +148,7 @@ class ResourceScope : NonCopyable, NonMovable { /** * Utility method to construct an instance of type T that will be owned by the ResourceScope. */ - template<typename T, typename... Args> T &construct(const char *name, Args &&... args) + template<typename T, typename... Args> T &construct(const char *name, Args &&...args) { destruct_ptr<T> value_ptr = m_allocator.construct<T>(std::forward<Args>(args)...); T &value_ref = *value_ptr; |