summaryrefslogtreecommitdiff
path: root/ACE/tests/Task_Ex_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Task_Ex_Test.cpp')
-rw-r--r--ACE/tests/Task_Ex_Test.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/ACE/tests/Task_Ex_Test.cpp b/ACE/tests/Task_Ex_Test.cpp
index d9d141aaaa9..b15d5bb57a6 100644
--- a/ACE/tests/Task_Ex_Test.cpp
+++ b/ACE/tests/Task_Ex_Test.cpp
@@ -40,10 +40,10 @@ public:
//FUZZ: disable check_for_lack_ACE_OS
/// activate/spawn the threads.
///FUZZ: enable check_for_lack_ACE_OS
- int open (void*);
+ int open (void*) override;
/// svc thread entry point
- virtual int svc (void);
+ int svc () override;
private:
};
@@ -67,11 +67,7 @@ int Consumer::svc ()
while(this->getq (pMsg)!=-1)
{
ACE_TEST_ASSERT (pMsg!=0);
-#if defined (ACE_HAS_CPP11)
std::unique_ptr<User_Defined_Msg> pAuto(pMsg);
-#else
- auto_ptr<User_Defined_Msg> pAuto(pMsg);
-#endif /* ACE_HAS_CPP11 */
ACE_DEBUG((LM_DEBUG,
ACE_TEXT("Consumer::svc got msg id=%d\n"),
pMsg->msg_id ()));