Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / tao / DynamicAny / DynamicAny.cpp
blobccb3723a2b5bfea736736656c1f13ba6381f70a6
1 //=============================================================================
2 /**
3 * @file DynamicAny.cpp
5 * @author Carlos O'Ryan <coryan@uci.edu>
6 */
7 //=============================================================================
10 #include "tao/DynamicAny/DynamicAny.h"
11 #include "tao/DynamicAny/DynAnyFactory.h"
13 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
15 TAO_DynamicAny_Loader::TAO_DynamicAny_Loader ()
19 CORBA::Object_ptr
20 TAO_DynamicAny_Loader::create_object (CORBA::ORB_ptr,
21 int,
22 ACE_TCHAR *[])
24 CORBA::Object_ptr obj;
25 ACE_NEW_RETURN (obj,
26 TAO_DynAnyFactory,
27 CORBA::Object::_nil ());
28 return obj;
31 int
32 TAO_DynamicAny_Loader::Initializer ()
34 return ACE_Service_Config::process_directive (ace_svc_desc_TAO_DynamicAny_Loader);
38 ACE_STATIC_SVC_DEFINE (TAO_DynamicAny_Loader,
39 ACE_TEXT ("DynamicAny_Loader"),
40 ACE_SVC_OBJ_T,
41 &ACE_SVC_NAME (TAO_DynamicAny_Loader),
42 ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
44 ACE_FACTORY_DEFINE (TAO_DynamicAny, TAO_DynamicAny_Loader)
46 TAO_END_VERSIONED_NAMESPACE_DECL