test: Replace accidentally placed bit-OR with logical-OR

This commit is contained in:
Hennadii Stepanov committed 2021-02-24 12:57:03 +02:00
1 parent b59f2787e5
commit df8f2a11dc
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ static std::map<std::string, unsigned int> mapFlagNames = {
unsigned int ParseScriptFlags(std::string strFlags)
{
if (strFlags.empty() | strFlags == "NONE") return 0;
if (strFlags.empty() || strFlags == "NONE") return 0;
unsigned int flags = 0;
std::vector<std::string> words;
boost::algorithm::split(words, strFlags, boost::algorithm::is_any_of(","));