Browse Source

[trac1160] fixed doxygen comment

Jelte Jansen 13 years ago
parent
commit
7489fa475c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/util/strutil.h

+ 1 - 1
src/lib/util/strutil.h

@@ -175,7 +175,7 @@ std::string getToken(std::istringstream& iss);
 /// BitSize is the maximum number of bits that the resulting integer can take.
 /// This function first checks whether the given token can be converted to
 /// an integer of NumType type.  It then confirms the conversion result is
-/// within the valid range, i.e., [0, 2^NumType - 1].  The second check is
+/// within the valid range, i.e., [0, 2^BitSize - 1].  The second check is
 /// necessary because lexical_cast<T> where T is an unsigned integer type
 /// doesn't correctly reject negative numbers when compiled with SunStudio.
 ///