diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-04-10 08:32:55 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:26 +0200 |
commit | 5bfcafa0a21619e8cd82c38ec51e260838f42042 (patch) | |
tree | 05b34d95d2a32ef58ae76519610b002baa9f7adc /src/shader_recompiler/object_pool.h | |
parent | shader_recompiler,video_core: Cleanup some GCC and Clang errors (diff) | |
download | yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.gz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.bz2 yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.lz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.xz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.zst yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/object_pool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/object_pool.h b/src/shader_recompiler/object_pool.h index 424281634..f8b255b66 100644 --- a/src/shader_recompiler/object_pool.h +++ b/src/shader_recompiler/object_pool.h @@ -18,7 +18,7 @@ public: } template <typename... Args> - requires std::is_constructible_v<T, Args...> [[nodiscard]] T* Create(Args&&... args) { + requires std::is_constructible_v<T, Args...>[[nodiscard]] T* Create(Args&&... args) { return std::construct_at(Memory(), std::forward<Args>(args)...); } |