aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/types.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/types.hxx b/build2/types.hxx
index 092318e..9ddc427 100644
--- a/build2/types.hxx
+++ b/build2/types.hxx
@@ -147,7 +147,7 @@ namespace build2
inline bool
operator!= (const relaxed_atomic<T*>& x, const P& y)
{
- return static_cast<T*> (x) == y;
+ return static_cast<T*> (x) != y;
}
#endif