summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-05-17 22:08:30 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-05-17 22:08:30 +0200
commitf697745730aa61d852388233a27e75f8f6f516ce (patch)
treef7683f1f95b96faff567791901b9eddf4662a9fd
parent64307a91fcf9ebb84ede8f08d991e22a5789304a (diff)
Just 1 simple fix cppcheck warning
-rw-r--r--autodoc/source/parser/cpp/c_rcode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/autodoc/source/parser/cpp/c_rcode.cxx b/autodoc/source/parser/cpp/c_rcode.cxx
index 84ab4b91..4979e2a4 100644
--- a/autodoc/source/parser/cpp/c_rcode.cxx
+++ b/autodoc/source/parser/cpp/c_rcode.cxx
@@ -139,7 +139,7 @@ CodeExplorer::CurToken() const
Cpp_PE &
CodeExplorer::CurEnv() const
{
- csv_assert(aEnvironments.size() > 0);
+ csv_assert(!aEnvironments.empty());
csv_assert(aEnvironments.back() != 0);
return *aEnvironments.back();