From 2390822baff6283c8ee2dacb1f5392645487f423 Mon Sep 17 00:00:00 2001 From: jiannanya Date: Thu, 9 Feb 2023 21:30:36 +0800 Subject: [PATCH] Fix: the member function 'Flush()' of class 'MemoryIOStream' need to be marked as override for msvc clang compiling --- include/assimp/MemoryIOWrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/assimp/MemoryIOWrapper.h b/include/assimp/MemoryIOWrapper.h index 720fd8424..77071e96f 100644 --- a/include/assimp/MemoryIOWrapper.h +++ b/include/assimp/MemoryIOWrapper.h @@ -125,7 +125,7 @@ public: return length; } - void Flush() { + void Flush() override{ ai_assert(false); // won't be needed }