[asterisk-scf-commits] asterisk-scf/integration/ice-util-cpp.git branch "retry_deux" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Apr 11 09:28:05 CDT 2012


branch "retry_deux" has been updated
       via  e1ea2adcc13c1b3b697447e0b3563d0d0c32daf7 (commit)
      from  1cf9e84865b7ea553e49ab6bf8da30e6fa30194c (commit)

Summary of changes:
 include/AsteriskSCF/Operations/OperationMonitor.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit e1ea2adcc13c1b3b697447e0b3563d0d0c32daf7
Author: David M. Lee <dlee at digium.com>
Date:   Wed Apr 11 09:26:57 2012 -0500

    Fixed CancelledOperationException so that what() works

diff --git a/include/AsteriskSCF/Operations/OperationMonitor.h b/include/AsteriskSCF/Operations/OperationMonitor.h
index 92ad1c5..6cebfb9 100755
--- a/include/AsteriskSCF/Operations/OperationMonitor.h
+++ b/include/AsteriskSCF/Operations/OperationMonitor.h
@@ -162,7 +162,7 @@ typedef ASTSCF_DLL_EXPORT boost::shared_ptr<ContextData> ContextDataPtr;
 
 class ASTSCF_DLL_EXPORT CancelledOperationException : public std::exception {
 public:
-    const char* what() throw() { return "Cancelled operation"; }
+    const char* what() const throw() { return "Cancelled operation"; }
 };
 
 /**

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list