mirror of
https://github.com/XRPLF/clio.git
synced 2026-08-22 05:00:52 +00:00
@@ -80,11 +80,11 @@ public:
|
||||
/**
|
||||
* @brief Send via shared_ptr of string, that enables SubscriptionManager to publish to clients.
|
||||
*
|
||||
* @param msg The message to send
|
||||
* @throws Not supported unless implemented in child classes. Will always throw std::logic_error.
|
||||
* @param msg Unused
|
||||
* @throws std::logic_error unless the function is overridden by a child class.
|
||||
*/
|
||||
virtual void
|
||||
send(std::shared_ptr<std::string> /* msg */)
|
||||
send([[maybe_unused]] std::shared_ptr<std::string> msg)
|
||||
{
|
||||
throw std::logic_error("web server can not send the shared payload");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user