diff --git a/TAO/TAO_IDL/ast/ast_map.cpp b/TAO/TAO_IDL/ast/ast_map.cpp index 3331ad7074c23..93e531eb28ef6 100644 --- a/TAO/TAO_IDL/ast/ast_map.cpp +++ b/TAO/TAO_IDL/ast/ast_map.cpp @@ -170,6 +170,9 @@ AST_Map::AST_Map (AST_Expression *ms, || vnt == AST_Decl::NT_param_holder; } +AST_Map::~AST_Map () +{} + // Public operations. bool diff --git a/TAO/TAO_IDL/be/be_map.cpp b/TAO/TAO_IDL/be/be_map.cpp index ec990b25ba57d..4a6aa8be4b695 100644 --- a/TAO/TAO_IDL/be/be_map.cpp +++ b/TAO/TAO_IDL/be/be_map.cpp @@ -146,7 +146,7 @@ be_map::gen_name () 0); } - std::snprintf (namebuf, + ACE_OS::snprintf (namebuf, NAMEBUFSIZE, "_tao_map_%s_%s_", kt->flat_name (), vt->flat_name ()); @@ -155,10 +155,10 @@ be_map::gen_name () if (this->unbounded () == false) { char ulval_str [NAMEBUFSIZE]; - std::snprintf (ulval_str, - NAMEBUFSIZE, - "_" ACE_UINT32_FORMAT_SPECIFIER_ASCII, - this->max_size ()->ev ()->u.ulval); + ACE_OS::snprintf (ulval_str, + NAMEBUFSIZE, + "_" ACE_UINT32_FORMAT_SPECIFIER_ASCII, + this->max_size ()->ev ()->u.ulval); ACE_OS::strcat (namebuf, ulval_str); } diff --git a/TAO/TAO_IDL/include/ast_map.h b/TAO/TAO_IDL/include/ast_map.h index c7791eea23268..e7712a6fbd385 100644 --- a/TAO/TAO_IDL/include/ast_map.h +++ b/TAO/TAO_IDL/include/ast_map.h @@ -81,7 +81,7 @@ class TAO_IDL_FE_Export AST_Map : public virtual AST_ConcreteType bool local, bool abstract); - virtual ~AST_Map () = default; + virtual ~AST_Map (); virtual bool in_recursion (ACE_Unbounded_Queue &list); // Are we or the node represented by node involved in recursion.