diff options
-rw-r--r-- | ACE/ChangeLog | 8 | ||||
-rw-r--r-- | ACE/ace/ETCL/ETCL_Interpreter.cpp | 6 | ||||
-rw-r--r-- | ACE/ace/SString.h | 8 |
3 files changed, 15 insertions, 7 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index d5e17c68a79..36350bb8d11 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,11 @@ +Fri Jun 5 18:16:05 2009 Johnny Willemsen <jwillemsen@remedy.nl> + + * ace/ETCL/ETCL_Interpreter.cpp: + Prefix increment and const changes + + * ace/SString.h: + Doxygen changes + Thu Jun 4 10:14:05 2009 Johnny Willemsen <jwillemsen@remedy.nl> * ace/Select_Reactor_T.cpp: diff --git a/ACE/ace/ETCL/ETCL_Interpreter.cpp b/ACE/ace/ETCL/ETCL_Interpreter.cpp index e7ae9a7d016..5d7cbcfbc58 100644 --- a/ACE/ace/ETCL/ETCL_Interpreter.cpp +++ b/ACE/ace/ETCL/ETCL_Interpreter.cpp @@ -62,7 +62,7 @@ ETCL_Interpreter::is_empty_string (const char* str) break; } - i++; + ++i; } if (str[i] == '\0') @@ -84,11 +84,11 @@ int Lex_String_Input::copy_into (char* buf, int max_size) { - int chars_left = + int const chars_left = ACE_Utils::truncate_cast<int> ( Lex_String_Input::end_ - Lex_String_Input::current_); - int n = max_size > chars_left ? chars_left : max_size; + int const n = max_size > chars_left ? chars_left : max_size; if (n > 0) { diff --git a/ACE/ace/SString.h b/ACE/ace/SString.h index b52c732ef55..ff2f0d42789 100644 --- a/ACE/ace/SString.h +++ b/ACE/ace/SString.h @@ -384,13 +384,13 @@ public: }; protected: - /// Returns 1 if <d> is a delimiter, 0 otherwise. If <d> should be - /// replaced with @a r, <replace> is set to 1, otherwise 0. + /// Returns 1 if @a d is a delimiter, 0 otherwise. If @a d should be + /// replaced with @a r, @a replace is set to 1, otherwise 0. int is_delimiter (ACE_TCHAR d, int &replace, ACE_TCHAR &r); /** - * If <start> is a start preserve designator, returns 1 and sets - * <stop> to the stop designator. Returns 0 if <start> is not a + * If @a start is a start preserve designator, returns 1 and sets + * @a stop to the stop designator. Returns 0 if @a start is not a * preserve designator. */ int is_preserve_designator (ACE_TCHAR start, ACE_TCHAR &stop, int &strip); |