diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-06 11:01:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-06 11:01:47 +0200 |
commit | 8b3146096fe9e9efd849d6ee5e0fa6e90274b796 (patch) | |
tree | cab30a39aaf9c30f039ea3ea6dd099a731de1490 | |
parent | 6e197bdfcc680080bd18bcc3c612447472090841 (diff) |
Fix bug in relaxed_atomic
-rw-r--r-- | build2/types.hxx | 2 |
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 |