diff --git a/src/util/AllocatedArray.hxx b/src/util/AllocatedArray.hxx
index 4cfaab3e1..d7c1ef870 100644
--- a/src/util/AllocatedArray.hxx
+++ b/src/util/AllocatedArray.hxx
@@ -100,10 +100,6 @@ public:
 		return buffer.data() == nullptr;
 	}
 
-	constexpr bool operator!=(std::nullptr_t) const noexcept {
-		return buffer.data() != nullptr;
-	}
-
 	/**
 	 * Returns true if no memory was allocated so far.
 	 */