mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd::mods: Fix reference to temporary (GCC).
This commit is contained in:
parent
05a776dd51
commit
5506335502
1 changed files with 4 additions and 4 deletions
|
@ -52,10 +52,10 @@ ircd::mods::mod
|
||||||
string_view &operator[](const string_view &s);
|
string_view &operator[](const string_view &s);
|
||||||
|
|
||||||
// Convenience accessors
|
// Convenience accessors
|
||||||
auto &name() const { return _name; }
|
auto &name() const { return _name; }
|
||||||
auto &location() const { return _location; }
|
auto &location() const { return _location; }
|
||||||
auto &version() const { return header->version; }
|
auto &description() const { return (*this)["description"]; }
|
||||||
auto &description() const { return (*this)["description"]; }
|
auto version() const { return header->version; }
|
||||||
|
|
||||||
explicit mod(std::string path, const load_mode::type &);
|
explicit mod(std::string path, const load_mode::type &);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue