diff options
| author | 2021-04-10 02:32:55 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:26 -0400 | |
| 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.gz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.tar.xz yuzu-5bfcafa0a21619e8cd82c38ec51e260838f42042.zip | |
shader: Address feedback + clang format
Diffstat (limited to 'src/shader_recompiler/object_pool.h')
| -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: | |||
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | template <typename... Args> | 20 | template <typename... Args> |
| 21 | requires std::is_constructible_v<T, Args...> [[nodiscard]] T* Create(Args&&... args) { | 21 | requires std::is_constructible_v<T, Args...>[[nodiscard]] T* Create(Args&&... args) { |
| 22 | return std::construct_at(Memory(), std::forward<Args>(args)...); | 22 | return std::construct_at(Memory(), std::forward<Args>(args)...); |
| 23 | } | 23 | } |
| 24 | 24 | ||