Browse Source

Fix some warnings

Panagiotis Christopoulos Charitos 4 years ago
parent
commit
398a3daaa5
2 changed files with 3 additions and 0 deletions
  1. 2 0
      AnKi/Util/Logger.h
  2. 1 0
      Tests/Util/BuddyAllocator.cpp

+ 2 - 0
AnKi/Util/Logger.h

@@ -99,6 +99,8 @@ private:
 			, m_callback(callback)
 		{
 		}
+
+		Handler& operator=(const Handler&) = default;
 	};
 
 	Mutex m_mutex; ///< For thread safety

+ 1 - 0
Tests/Util/BuddyAllocator.cpp

@@ -19,6 +19,7 @@ ANKI_TEST(Util, BuddyAllocator)
 		Array<U32, 2> addr;
 		Bool success = buddy.allocate(alloc, 1, addr[0]);
 		success = buddy.allocate(alloc, 3, addr[1]);
+		(void)success;
 
 		// buddy.debugPrint();