diff options
Diffstat (limited to 'examples/Web_Crawler/Command_Processor.cpp')
-rw-r--r-- | examples/Web_Crawler/Command_Processor.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/Web_Crawler/Command_Processor.cpp b/examples/Web_Crawler/Command_Processor.cpp index dc6ab443d45..c23310be017 100644 --- a/examples/Web_Crawler/Command_Processor.cpp +++ b/examples/Web_Crawler/Command_Processor.cpp @@ -89,8 +89,7 @@ Command_Processor::execute (void) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "dequeue_head"), -1); - URL_Command *url_command = ACE_dynamic_cast (URL_Command *, - command); + URL_Command *url_command = dynamic_cast<URL_Command *> (command); Auto_Destroyer<URL_Command> url_command_ptr (url_command); if (url_command_ptr->execute () != 0) ACE_ERROR_RETURN ((LM_ERROR, @@ -134,4 +133,6 @@ template class ACE_Unbounded_Queue<Command *>; #pragma instantiate ACE_Node<Command *> #pragma instantiate ACE_Unbounded_Queue_Iterator<Command *> #pragma instantiate ACE_Unbounded_Queue<Command *> +#elif defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION) +template ACE_Singleton<Options, ACE_Null_Mutex> *ACE_Singleton<Options, ACE_Null_Mutex>::singleton_; #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |