summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-02-01 20:44:39 (GMT)
committerBrad King <brad.king@kitware.com>2007-02-01 20:44:39 (GMT)
commit7e896821f5249ccea03c3b7f44e194a3154f95a8 (patch)
tree093bc5a3c326369af04d26c3eb1bfbf0e685d361 /Source/cmLocalVisualStudio7Generator.cxx
parent05b5600444a3698f4fc0f2467b7e55fcc7b576a6 (diff)
downloadCMake-7e896821f5249ccea03c3b7f44e194a3154f95a8.zip
CMake-7e896821f5249ccea03c3b7f44e194a3154f95a8.tar.gz
CMake-7e896821f5249ccea03c3b7f44e194a3154f95a8.tar.bz2
BUG: Do not use bitwise OR on bool.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 333bcce..da579db 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -1864,7 +1864,7 @@ void cmLocalVisualStudio7GeneratorOptions::HandleFlag(const char* flag)
}
// If the entry was found the flag has been handled.
- flag_handled |= entry_found;
+ flag_handled = flag_handled || entry_found;
}
// If any map entry handled the flag we are done.