0
0
Fork 0
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:
Jason Volk 2022-07-27 15:10:38 -07:00
parent 05a776dd51
commit 5506335502

View file

@ -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 &);