summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/POA/Implicit_Activation/Simple.cpp
blob: 8bcaab684a287d17a6410ad7ae8fdde40fa1d78d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "Simple.h"

Simple::Simple ()
{
}

void
Simple::destroy ()
{
  PortableServer::POA_var poa = this->_default_POA ();

  PortableServer::ObjectId_var oid =
    poa->servant_to_id (this);

  poa->deactivate_object (oid.in ());
}