mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +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
|
@ -54,8 +54,8 @@ ircd::mods::mod
|
||||||
// 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