Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / examples / Smart_Pointers / Gadget_Part_Factory.cpp
blob7123e94a2120ca06a7a5a3380d8c7d6435350673
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file Gadget_Part_Factory.cpp
6 * @author Christopher Kohlhoff <chris@kohlhoff.com>
7 */
8 //=============================================================================
10 #include "Gadget_Part_Factory.h"
11 #include "Gadget_Part_Impl.h"
13 Gadget_Part_var Gadget_Part_Factory::create_gadget_part (Gadget_ptr owner,
14 const char* name,
15 int size)
17 return Gadget_Part_var (new Gadget_Part_Impl (owner, name, size));