mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Tidy up Resource::Manager APIs
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
||||
Consumer& operator= (Consumer const& other);
|
||||
|
||||
/** Return a human readable string uniquely identifying this consumer. */
|
||||
std::string label ();
|
||||
std::string to_string () const;
|
||||
|
||||
/** Returns `true` if this is a privileged endpoint. */
|
||||
bool admin () const;
|
||||
@@ -77,6 +77,8 @@ private:
|
||||
Entry* m_entry;
|
||||
};
|
||||
|
||||
std::ostream& operator<< (std::ostream& os, Consumer const& v);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user