BIND 10 trac1956, updated. 25af754fb60cdb8e538eeb2111694bd3cf2bf89e [1956] Catch exceptions as const reference.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu May 31 18:15:21 UTC 2012
The branch, trac1956 has been updated
via 25af754fb60cdb8e538eeb2111694bd3cf2bf89e (commit)
from 968d486cb7c77cec9f47a3b155938c5c2cac6747 (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 25af754fb60cdb8e538eeb2111694bd3cf2bf89e
Author: Marcin Siodelski <marcin at isc.org>
Date: Thu May 31 20:14:47 2012 +0200
[1956] Catch exceptions as const reference.
-----------------------------------------------------------------------
Summary of changes:
tests/tools/perfdhcp/perf_pkt6.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/tests/tools/perfdhcp/perf_pkt6.cc b/tests/tools/perfdhcp/perf_pkt6.cc
index de3983c..0c6b8dc 100644
--- a/tests/tools/perfdhcp/perf_pkt6.cc
+++ b/tests/tools/perfdhcp/perf_pkt6.cc
@@ -75,7 +75,7 @@ PerfPkt6::rawPack() {
// but still some options have to be updated if client
// specified them along with their offsets in the buffer.
rawPackOptions();
- } catch (isc::BadValue& e) {
+ } catch (const isc::BadValue& e) {
cout << "Building packet failed: " << e.what() << endl;
return (false);
}
@@ -102,7 +102,7 @@ PerfPkt6::rawUnpack() {
msg_type_ = data_[0];
try {
rawUnpackOptions();
- } catch (isc::BadValue& e) {
+ } catch (const isc::BadValue& e) {
cout << "Packet parsing failed: " << e.what() << endl;
return (false);
}
More information about the bind10-changes
mailing list