2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-03 07:25:18 +00:00

[1781] small editorial/style fixes: updated comment and use unnamed namespace.

the previous "TODO" comment was a leftover when I moved it from the datasrc
test.  also moved the callback function to the unnamed namespace as it
doesn't have to be referrable from others.
This commit is contained in:
JINMEI Tatuya
2012-04-16 14:02:50 -07:00
parent d78d0dbcec
commit 136e63b823

View File

@@ -86,10 +86,8 @@ matchRdata(const char*, const char*,
} }
return (::testing::AssertionSuccess()); return (::testing::AssertionSuccess());
} }
}
// TODO: maybe we should share this stuff // A helper callback of masterLoad() used by textToRRset() below.
// A helper callback of masterLoad() used in InMemoryZoneFinderTest.
void void
setRRset(RRsetPtr rrset, RRsetPtr* rrsetp) { setRRset(RRsetPtr rrset, RRsetPtr* rrsetp) {
if (*rrsetp) { if (*rrsetp) {
@@ -98,6 +96,7 @@ setRRset(RRsetPtr rrset, RRsetPtr* rrsetp) {
} }
*rrsetp = rrset; *rrsetp = rrset;
} }
}
RRsetPtr RRsetPtr
textToRRset(const string& text_rrset, const RRClass& rrclass) { textToRRset(const string& text_rrset, const RRClass& rrclass) {