From 4161cc30173f7911882fbb33c5562cc99dbeaa49 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 17 Sep 2023 21:34:25 -0400 Subject: [PATCH] oops, fix build error --- dlib/any/storage.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dlib/any/storage.h b/dlib/any/storage.h index 438e5f011..10a7b85c9 100644 --- a/dlib/any/storage.h +++ b/dlib/any/storage.h @@ -330,7 +330,7 @@ namespace dlib I.e. if this object contains the type T then this returns std::type_index{typeid(T)}. !*/ { - DLIB_ASSERT(!is_empty()); + DLIB_ASSERT(!this->is_empty()); return type_id_(); } @@ -520,7 +520,7 @@ namespace dlib I.e. if this object contains the type T then this returns std::type_index{typeid(T)}. !*/ { - DLIB_ASSERT(!is_empty()); + DLIB_ASSERT(!this->is_empty()); return type_id_(); } @@ -768,7 +768,7 @@ namespace dlib I.e. if this object contains the type T then this returns std::type_index{typeid(T)}. !*/ { - DLIB_ASSERT(!is_empty()); + DLIB_ASSERT(!this->is_empty()); return type_id_(); } @@ -866,7 +866,7 @@ namespace dlib I.e. if this object contains the type T then this returns std::type_index{typeid(T)}. !*/ { - DLIB_ASSERT(!is_empty()); + DLIB_ASSERT(!this->is_empty()); return type_id_(); } @@ -960,7 +960,7 @@ namespace dlib I.e. if this object contains the type T then this returns std::type_index{typeid(T)}. !*/ { - DLIB_ASSERT(!is_empty()); + DLIB_ASSERT(!this->is_empty()); return type_id_(); }