Parcourir la source

[trac1160] fixed doxygen comment

Jelte Jansen il y a 13 ans
Parent
commit
7489fa475c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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.
 ///