mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Reverse comparison of delimiters in ocloc's decoder
Change-Id: I35fe15d0d073afeda30c2cb93d9e784a257a2271 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
5a3afcf535
commit
14f0d3165b
@ -67,7 +67,7 @@ size_t findPos(const std::vector<std::string> &lines, const std::string &whatToF
|
||||
return i;
|
||||
}
|
||||
char delimiter = lines[i][it + whatToFind.size()];
|
||||
if ((delimiter == ' ') || (delimiter = '\t') || (delimiter = '\n') || (delimiter = '\r')) {
|
||||
if ((' ' == delimiter) || ('\t' == delimiter) || ('\n' == delimiter) || ('\r' == delimiter)) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user