mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd::conf: Fix interface argument inconsistency.
This commit is contained in:
parent
84491464d6
commit
7a87f2eda9
2 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@ namespace ircd::conf
|
|||
|
||||
bool exists(const string_view &key);
|
||||
bool persists(const string_view &key);
|
||||
string_view get(const string_view &key, const mutable_buffer &out);
|
||||
string_view get(const mutable_buffer &out, const string_view &key);
|
||||
std::string get(const string_view &key);
|
||||
bool set(const string_view &key, const string_view &value);
|
||||
bool set(std::nothrow_t, const string_view &key, const string_view &value);
|
||||
|
|
|
@ -162,8 +162,8 @@ catch(const std::out_of_range &e)
|
|||
}
|
||||
|
||||
ircd::string_view
|
||||
ircd::conf::get(const string_view &key,
|
||||
const mutable_buffer &out)
|
||||
ircd::conf::get(const mutable_buffer &out,
|
||||
const string_view &key)
|
||||
try
|
||||
{
|
||||
const auto &item(*items.at(key));
|
||||
|
|
Loading…
Reference in a new issue