diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-04 11:51:47 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-05-05 12:34:52 +0200 |
commit | a6f095c01e93090e185afd0d9f26bf4565a552ed (patch) | |
tree | f20a632b256bfa95b4470654a61f829d5a117f3b /logic/pipeline.cpp | |
parent | 7f8043b8287e187a7c1d4f0175ed9c527d6bdcc6 (diff) |
compat, logic/pipeline: add bitwise enum operators
Diffstat (limited to 'logic/pipeline.cpp')
-rw-r--r-- | logic/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp index 5f17f2b1..e562ef7f 100644 --- a/logic/pipeline.cpp +++ b/logic/pipeline.cpp @@ -667,7 +667,7 @@ void bits::negate(flags flag_) } } -bool bits::get(unsigned flag) +bool bits::get(flags flag) { return !!(b & flag); } |