mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 16:22:22 +03:00
Windows porting: port hyperscan and chimera tools to windows.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015-2017, Intel Corporation
|
||||
* Copyright (c) 2015-2018, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -305,9 +305,10 @@ public:
|
||||
}
|
||||
|
||||
/// Bitwise OR.
|
||||
bitfield operator|(bitfield a) const {
|
||||
a |= *this;
|
||||
return a;
|
||||
bitfield operator|(const bitfield &a) const {
|
||||
bitfield b = a;
|
||||
b |= *this;
|
||||
return b;
|
||||
}
|
||||
|
||||
/// Bitwise OR-equals.
|
||||
@@ -325,9 +326,10 @@ public:
|
||||
}
|
||||
|
||||
/// Bitwise AND.
|
||||
bitfield operator&(bitfield a) const {
|
||||
a &= *this;
|
||||
return a;
|
||||
bitfield operator&(const bitfield &a) const {
|
||||
bitfield b = a;
|
||||
b &= *this;
|
||||
return b;
|
||||
}
|
||||
|
||||
/// Bitwise AND-equals.
|
||||
|
Reference in New Issue
Block a user