summaryrefslogtreecommitdiff
path: root/CIAO/examples/DevGuideExamples/Messenger/Messenger_exec_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/examples/DevGuideExamples/Messenger/Messenger_exec_i.cpp')
-rw-r--r--CIAO/examples/DevGuideExamples/Messenger/Messenger_exec_i.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CIAO/examples/DevGuideExamples/Messenger/Messenger_exec_i.cpp b/CIAO/examples/DevGuideExamples/Messenger/Messenger_exec_i.cpp
index c71b7b82504..33163a52184 100644
--- a/CIAO/examples/DevGuideExamples/Messenger/Messenger_exec_i.cpp
+++ b/CIAO/examples/DevGuideExamples/Messenger/Messenger_exec_i.cpp
@@ -62,7 +62,7 @@ namespace CIAO_Messenger_Impl
// get the run_lock from the Runnable executor; we have an
// agreement with the Runnable executor that we must posess the
// run_lock to publish
- ACE_Guard<TAO_SYNCH_MUTEX> guard( this->control_->get_run_lock() );
+ ACE_GUARD (TAO_SYNCH_MUTEX, ace_mon, this->control_->get_run_lock());
// create a message to publish
::Message_var msg = new ::OBV_Message();