summaryrefslogtreecommitdiff
path: root/ace/CORBA_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/CORBA_macros.h')
-rw-r--r--ace/CORBA_macros.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/CORBA_macros.h b/ace/CORBA_macros.h
index c540e5af1f6..7b115f21745 100644
--- a/ace/CORBA_macros.h
+++ b/ace/CORBA_macros.h
@@ -363,13 +363,13 @@
ACE_Guard<MUTEX> OBJ (LOCK); \
if (OBJ.locked () == 0) ACE_THROW_INT (EXCEPTION);
-# define ACE_READ_GUARD_THROW_EX(MUTEX,OBJ,LOCK,EXCEPTION) \
+# define ACE_READ_GUARD_THROW_EX(MUTEX,OBJ,LOCK) \
ACE_Read_Guard<MUTEX> OBJ (LOCK); \
- if (OBJ.locked () == 0) ACE_THROW_INT (EXCEPTION);
+ if (OBJ.locked () == 0) return;
-# define ACE_WRITE_GUARD_THROW_EX(MUTEX,OBJ,LOCK,EXCEPTION) \
+# define ACE_WRITE_GUARD_THROW_EX(MUTEX,OBJ,LOCK) \
ACE_Write_Guard<MUTEX> OBJ (LOCK); \
- if (OBJ.locked () == 0) ACE_THROW_INT (EXCEPTION);
+ if (OBJ.locked () == 0) return;
// The following ACE_GUARD_THROW* macros are to be depricated soon.
// -------------------- Start Depricated --------------------