Commit 3b889283 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[1599] Comment on unsupported method

parent ccc2fb76
......@@ -104,6 +104,11 @@ public:
/// \brief Clones the object
/// Since cloning is for the use of coroutines, the synchronous UDP server
/// does not need to be cloned. Therefore supporting it would be needless
/// work, and trying to clone it would be a programmer error anyway, this
/// throws Unexpected.
/// \return a newly allocated copy of this object
virtual DNSServer* clone() {
isc_throw(Unexpected, "SyncUDPServer can't be cloned.");
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