summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Test_Filter/RT_Test_Filter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Test_Filter/RT_Test_Filter.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/Test_Filter/RT_Test_Filter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Test_Filter/RT_Test_Filter.cpp b/TAO/orbsvcs/tests/Notify/Test_Filter/RT_Test_Filter.cpp
index b5952bd09c7..7ab11e5aec3 100644
--- a/TAO/orbsvcs/tests/Notify/Test_Filter/RT_Test_Filter.cpp
+++ b/TAO/orbsvcs/tests/Notify/Test_Filter/RT_Test_Filter.cpp
@@ -7,7 +7,7 @@ ACE_RCSID(Notify, TAO_RT_Test_Filter, "$Id$")
#include "tao/debug.h"
#include "tao/ORB_Core.h"
#include "tao/RTCORBA/Thread_Pool.h"
-#include "tao/PortableServer/Root_POA.h"
+#include "tao/PortableServer/POA.h"
TAO_Notify_Tests_RT_Test_Filter::TAO_Notify_Tests_RT_Test_Filter (void)
: expected_pool_id_ (0)
@@ -161,7 +161,7 @@ TAO_Notify_Tests_RT_Test_Filter::match_structured (const CosNotification::Struct
if (TAO_debug_level > 0)
ACE_DEBUG ((LM_DEBUG, "TAO_Notify_Tests_RT_Test_Filter (%x) ::match_structured (%t)\n", this));
- TAO_Root_POA *poa = dynamic_cast<TAO_Root_POA*>(this->_default_POA ());
+ TAO_POA *poa = this->_default_POA ()->_tao_poa_downcast();
ACE_ASSERT (poa != 0);