]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/memory/allocator.h
Replace custom Array with std::vector - friendly version
[xonotic/netradiant.git] / libs / memory / allocator.h
index bef7d7cb4c2a3eb02c0c30d3c9ab776cabb21d3d..6796120695f0bb919622b13cde2ec49f00a364ee 100644 (file)
@@ -93,6 +93,15 @@ inline bool operator==( const DefaultAllocator<Type>&, const OtherAllocator& ){
        return false;
 }
 
+template<typename Type, typename Other>
+inline bool operator!=( const DefaultAllocator<Type>&, const DefaultAllocator<Other>& ){
+       return false;
+}
+template<typename Type, typename OtherAllocator>
+inline bool operator!=( const DefaultAllocator<Type>&, const OtherAllocator& ){
+       return true;
+}
+
 #endif