summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ThreadStrategy.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/ThreadStrategy.h')
-rw-r--r--TAO/tao/PortableServer/ThreadStrategy.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/TAO/tao/PortableServer/ThreadStrategy.h b/TAO/tao/PortableServer/ThreadStrategy.h
index 289c9dcd214..5ee79a7a354 100644
--- a/TAO/tao/PortableServer/ThreadStrategy.h
+++ b/TAO/tao/PortableServer/ThreadStrategy.h
@@ -12,14 +12,12 @@
#define TAO_THREAD_STRATEGY_H
#include /**/ "ace/pre.h"
-#include "tao/PortableServer/Policy_Strategy.h"
+#include "tao/orbconf.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/PortableServer/ThreadPolicyC.h"
-#include "tao/orbconf.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
@@ -28,18 +26,14 @@ namespace TAO
namespace Portable_Server
{
class ThreadStrategy
- : public Policy_Strategy
{
public:
+ ThreadStrategy () = default;
+ virtual ~ThreadStrategy () = default;
+
virtual int enter () = 0;
virtual int exit () = 0;
-
- void strategy_init (TAO_Root_POA *poa) override;
-
- void strategy_cleanup() override;
-
- virtual ::PortableServer::ThreadPolicyValue type() const = 0;
};
}
}