[bind10-dev] BIND 10 trac1956, updated. ff1617fd13a786d41439b7d653e798352e3789b7 [1956] PerfPkt6 class code improvements.
JINMEI Tatuya / 神明達哉
jinmei at isc.org
Thu May 31 17:12:56 UTC 2012
At Thu, 31 May 2012 16:39:40 +0000,
BIND 10 source code commits <bind10-changes at lists.isc.org> wrote:
> - } catch (isc::Unexpected& e) {
> - cout << "Failed to build packet: " << e.what() << endl;
> + } catch (isc::BadValue& e) {
> + cout << "Building packet failed: " << e.what() << endl;
> return (false);
(Just happen to notice) in general, exceptions should be caught as a
const reference. So this should be:
} catch (const isc::BadValue& e) {
cout << "Building packet failed: " << e.what() << endl;
---
JINMEI, Tatuya
More information about the bind10-dev
mailing list