BIND 10 trac2836, updated. 4f5e8221042782288e57974e38d4ab7d9de54740 [2836] style fixes: add () for return
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed May 8 21:26:53 UTC 2013
The branch, trac2836 has been updated
via 4f5e8221042782288e57974e38d4ab7d9de54740 (commit)
from a6949cd6433d089e240c6bdec095e12c4230214d (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 4f5e8221042782288e57974e38d4ab7d9de54740
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed May 8 14:26:32 2013 -0700
[2836] style fixes: add () for return
-----------------------------------------------------------------------
Summary of changes:
.../tests/memory/zone_data_updater_unittest.cc | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc b/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc
index f6e1e93..cde9e27 100644
--- a/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc
+++ b/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc
@@ -116,7 +116,7 @@ protected:
class TestSegmentCreator : public SegmentCreator {
public:
virtual SegmentPtr create() const {
- return SegmentPtr(new test::MemorySegmentTest);
+ return (SegmentPtr(new test::MemorySegmentTest));
}
};
@@ -131,7 +131,7 @@ public:
virtual SegmentPtr create() const {
// We are not really supposed to create the segment directly in real
// code, but it should be OK inside tests.
- return SegmentPtr(new isc::util::MemorySegmentLocal);
+ return (SegmentPtr(new isc::util::MemorySegmentLocal));
}
};
@@ -148,8 +148,10 @@ public:
initial_size_(initial_size)
{}
virtual SegmentPtr create() const {
- return SegmentPtr(new isc::util::MemorySegmentMapped(mapped_file,
- isc::util::MemorySegmentMapped::CREATE_ONLY, initial_size_));
+ return (SegmentPtr(new isc::util::MemorySegmentMapped(
+ mapped_file,
+ isc::util::MemorySegmentMapped::CREATE_ONLY,
+ initial_size_)));
}
virtual void cleanup() const {
EXPECT_EQ(0, unlink(mapped_file));
More information about the bind10-changes
mailing list