diff options
Diffstat (limited to 'ACE/ace/Svc_Conf_Lexer.cpp')
-rw-r--r-- | ACE/ace/Svc_Conf_Lexer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Svc_Conf_Lexer.cpp b/ACE/ace/Svc_Conf_Lexer.cpp index 08d2f65d76b..321897c584e 100644 --- a/ACE/ace/Svc_Conf_Lexer.cpp +++ b/ACE/ace/Svc_Conf_Lexer.cpp @@ -48,7 +48,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL #define ACE_NO_STATE -1 #define ACE_COMMENT 0 -#if defined (_MSC_VER) && (_MSC_VER >= 1400) +#if defined (_MSC_VER) // Visual Studio .NET 2005 (VC8) issues warning C4351 for input_ in the // constructor initializer list below. Since we like the warned-of new // behavior (input_ elements will be default-initialized), squash the @@ -59,7 +59,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL struct ace_yy_buffer_state { - ace_yy_buffer_state (void) + ace_yy_buffer_state () : input_ (), index_ (0), size_ (0), @@ -73,11 +73,11 @@ struct ace_yy_buffer_state #endif /* ACE_USES_WCHAR */ { } -#if defined (_MSC_VER) && (_MSC_VER >= 1400) +#if defined (_MSC_VER) # pragma warning (pop) #endif /* VC8 */ - ~ace_yy_buffer_state (void) + ~ace_yy_buffer_state () { #if defined (ACE_USES_WCHAR) delete converter_; |