Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / tao / Codeset / Codeset_Manager_Factory.cpp
bloba85ef8f467039d0452eb116db9cd4b8a2595625a
1 /* -*- C++ -*- */
3 // =================================================================
4 /**
5 * @file Codeset_Manager_Factory.cpp
7 * @author Phil Mesnier <mesnier_p@ociweb.com>
8 */
9 // =================================================================
11 #include "tao/Codeset/Codeset_Manager_Factory.h"
12 #include "ace/Service_Config.h"
13 #include "tao/Codeset/Codeset_Manager_i.h"
15 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
17 TAO_Codeset_Manager_Factory::~TAO_Codeset_Manager_Factory ()
21 bool
22 TAO_Codeset_Manager_Factory::is_default () const
24 return false;
28 TAO_Codeset_Manager *
29 TAO_Codeset_Manager_Factory::create ()
31 TAO_Codeset_Manager_i *csm = 0;
32 ACE_NEW_RETURN (csm, TAO_Codeset_Manager_i, 0);
34 return csm;
37 ACE_FACTORY_DEFINE (TAO_Codeset, TAO_Codeset_Manager_Factory)
38 ACE_STATIC_SVC_DEFINE (TAO_Codeset_Manager_Factory,
39 ACE_TEXT ("TAO_Codeset"),
40 ACE_SVC_OBJ_T,
41 &ACE_SVC_NAME (TAO_Codeset_Manager_Factory),
42 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
44 TAO_END_VERSIONED_NAMESPACE_DECL