Commit 6919cf07 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2108] Fix doc comment for addFromLoad()

addFromLoad() used to throw before, but now the called code itself
throws.  add() should never return anything except SUCCESS, so if it
returns anything else, we assert.
parent 65ce434a
......@@ -529,8 +529,7 @@ public:
}
/*
* Same as above, but it checks the return value and if it already exists,
* it throws.
* Wrapper around above.
*/
void addFromLoad(const ConstRRsetPtr& set,
const Name& zone_name, ZoneData* zone_data)
......
Markdown is supported
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