diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 17:35:01 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 17:35:01 +0300 |
| commit | 1a0ffe372f4da8408c5d08a36013536a3396b9e6 (patch) | |
| tree | 440f2a9a325c9ab4cb5b16dc6a8193317cabf8d7 /include/make_unique.h | |
| parent | f4d8ea0fa76174843adf7f77ebad0ad17d2377ed (diff) | |
| download | Project-Tick-1a0ffe372f4da8408c5d08a36013536a3396b9e6.tar.gz Project-Tick-1a0ffe372f4da8408c5d08a36013536a3396b9e6.zip | |
NOISSUE reformat libnbtplusplus to new MeshMC clang format rules
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'include/make_unique.h')
| -rw-r--r-- | include/make_unique.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/make_unique.h b/include/make_unique.h index a475a4a734..513cbcf69f 100644 --- a/include/make_unique.h +++ b/include/make_unique.h @@ -31,13 +31,13 @@ namespace nbt { -///Creates a new object of type T and returns a std::unique_ptr to it -template<class T, class... Args> -std::unique_ptr<T> make_unique(Args&&... args) -{ - return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); -} + /// Creates a new object of type T and returns a std::unique_ptr to it + template <class T, class... Args> + std::unique_ptr<T> make_unique(Args&&... args) + { + return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); + } -} +} // namespace nbt #endif // MAKE_UNIQUE_H_INCLUDED |
