BIND 10 trac2210, updated. f6f16611034e7b8bb0bd1ce506d6d61ed5228b02 [2210] style fix: use const& for catch
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Oct 19 16:44:34 UTC 2012
The branch, trac2210 has been updated
via f6f16611034e7b8bb0bd1ce506d6d61ed5228b02 (commit)
from 9e8803c63d45a0a2abe9cd615c41f0a0f1fd8ac1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f6f16611034e7b8bb0bd1ce506d6d61ed5228b02
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Fri Oct 19 09:44:09 2012 -0700
[2210] style fix: use const& for catch
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/datasrc_clients_mgr.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/datasrc_clients_mgr.h b/src/bin/auth/datasrc_clients_mgr.h
index f2e396c..8fa7d34 100644
--- a/src/bin/auth/datasrc_clients_mgr.h
+++ b/src/bin/auth/datasrc_clients_mgr.h
@@ -237,11 +237,11 @@ private:
typename MutexType::Locker locker(*map_mutex_);
std::swap(new_clients_map, *clients_map_);
// lock is released by leaving scope
- } catch (isc::data::TypeError type_error) {
+ } catch (const isc::data::TypeError& type_error) {
LOG_ERROR(auth_logger,
AUTH_DATASRC_CLIENTS_BUILDER_RECONFIGURE_CONFIG_ERROR).
arg(type_error.what());
- } catch (std::exception exc) {
+ } catch (const std::exception& exc) {
LOG_ERROR(auth_logger,
AUTH_DATASRC_CLIENTS_BUILDER_RECONFIGURE_ERROR).
arg(exc.what());
More information about the bind10-changes
mailing list