diff options
-rw-r--r-- | ApiExtractor/parser/rpp/pp-engine-bits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ApiExtractor/parser/rpp/pp-engine-bits.h b/ApiExtractor/parser/rpp/pp-engine-bits.h index b53607c..5552b16 100644 --- a/ApiExtractor/parser/rpp/pp-engine-bits.h +++ b/ApiExtractor/parser/rpp/pp-engine-bits.h @@ -368,7 +368,7 @@ _InputIterator pp::handle_include(bool __skip_current_path, _InputIterator __fir name.reserve(255); expand_include(__first, __last, std::back_inserter(name)); std::string::iterator it = skip_blanks(name.begin(), name.end()); - if (it != name.end() && (*it != '<' || *it != '"')) { + if (it != name.end() && !(*it == '<' || *it == '"')) { std::cerr << "** WARNING APIExtractor does not support the use " "of #include directives without passing either " "\"<path/to/header.h>\" or \"./path/to/header.h\", " |