Fix assert message in allocatePointer()

This commit is contained in:
Martchus 2023-09-30 22:04:41 +02:00
parent b69693bf58
commit fa47c4848c
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ public:
StorageType<ElementType> &allocatePointer()
{
static_assert(!UsingDirectStorage::value, "Cannot call getPointer() when using direct storage.");
static_assert(!UsingDirectStorage::value, "Cannot call allocatePointer() when using direct storage.");
static_assert(CppUtilities::Traits::IsSpecializingAnyOf<StorageType<ElementType>, std::unique_ptr, std::shared_ptr>(),
"Pointer type not supported.");
if (d_t != nullptr) {