Commit 5ed66be3 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2907] Make the reference const

parent 16f7fffa
...@@ -254,7 +254,7 @@ public: ...@@ -254,7 +254,7 @@ public:
} }
ConfigurableClientList::CacheStatus doReload( ConfigurableClientList::CacheStatus doReload(
const Name& origin, const string& datasrc_name = ""); const Name& origin, const string& datasrc_name = "");
void accessorIterate(ConstZoneTableAccessorPtr& accessor, void accessorIterate(const ConstZoneTableAccessorPtr& accessor,
int numZones, const string& zoneName); int numZones, const string& zoneName);
const RRClass rrclass_; const RRClass rrclass_;
...@@ -1134,7 +1134,7 @@ TEST_F(ListTest, reloadByDataSourceName) { ...@@ -1134,7 +1134,7 @@ TEST_F(ListTest, reloadByDataSourceName) {
// through the table, and verifies that the expected number of zones are // through the table, and verifies that the expected number of zones are
// present, as well as the named zone. // present, as well as the named zone.
void void
ListTest::accessorIterate(ConstZoneTableAccessorPtr& accessor, ListTest::accessorIterate(const ConstZoneTableAccessorPtr& accessor,
int numZones, const string& zoneName="") int numZones, const string& zoneName="")
{ {
// Confirm basic iterator behavior. // Confirm basic iterator behavior.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment