diff options
author | Shauren <shauren.trinity@gmail.com> | 2024-03-11 18:25:17 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-03-11 18:25:17 +0100 |
commit | 1f3ebbb23cea1778ddc5ca52941861a98b667530 (patch) | |
tree | 3a84a76457a0c70b8b6573d13e8fefdfe385f31d | |
parent | 261a237cfa159e52dbb7ec4ab9ae5a5c6257b9ef (diff) |
Fix tests build
-rw-r--r-- | src/common/Utilities/UniqueTrackablePtr.h | 6 | ||||
-rw-r--r-- | tests/common/UniqueTrackablePtr.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/common/Utilities/UniqueTrackablePtr.h b/src/common/Utilities/UniqueTrackablePtr.h index 0a09ead1eed..b3a747d4b0f 100644 --- a/src/common/Utilities/UniqueTrackablePtr.h +++ b/src/common/Utilities/UniqueTrackablePtr.h @@ -15,8 +15,8 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef TRINITYCORE_UNIQUE_TRACKING_PTR_H -#define TRINITYCORE_UNIQUE_TRACKING_PTR_H +#ifndef TRINITYCORE_UNIQUE_TRACKABLE_PTR_H +#define TRINITYCORE_UNIQUE_TRACKABLE_PTR_H #include "Define.h" #include <memory> @@ -271,4 +271,4 @@ std::enable_if_t<std::is_bounded_array_v<T>, unique_trackable_ptr<T>> make_uniqu } } -#endif // TRINITYCORE_UNIQUE_TRACKING_PTR_H +#endif // TRINITYCORE_UNIQUE_TRACKABLE_PTR_H diff --git a/tests/common/UniqueTrackablePtr.cpp b/tests/common/UniqueTrackablePtr.cpp index 6a1db9fa277..11fdb226ba5 100644 --- a/tests/common/UniqueTrackablePtr.cpp +++ b/tests/common/UniqueTrackablePtr.cpp @@ -17,7 +17,7 @@ #include "tc_catch2.h" -#include "UniqueTrackingPtr.h" +#include "UniqueTrackablePtr.h" struct TestObj { @@ -32,7 +32,7 @@ struct TestObj bool* Deleted = nullptr; }; -TEST_CASE("Trinity::unique_trackable_ptr frees memory", "[UniqueTrackingPtr]") +TEST_CASE("Trinity::unique_trackable_ptr frees memory", "[UniqueTrackablePtr]") { bool deleted = false; @@ -57,7 +57,7 @@ TEST_CASE("Trinity::unique_trackable_ptr frees memory", "[UniqueTrackingPtr]") } } -TEST_CASE("Trinity::unique_weak_ptr", "[UniqueTrackingPtr]") +TEST_CASE("Trinity::unique_weak_ptr", "[UniqueTrackablePtr]") { Trinity::unique_trackable_ptr<int> ptr = Trinity::make_unique_trackable<int>(); |