0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

ircd: Explicit instance_list destructor template instantiations for clang.

This commit is contained in:
Jason Volk 2019-06-23 22:28:50 -06:00
parent e0e36dfabd
commit 9d48215aaa
4 changed files with 14 additions and 0 deletions

View file

@ -136,6 +136,7 @@ struct ircd::info::versions
versions() = default;
versions(versions &&) = delete;
versions(const versions &) = delete;
~versions() noexcept;
};
inline ircd::info::versions::operator

View file

@ -148,6 +148,7 @@ struct ircd::log::log
log(const string_view &name, const char &snote = '\0');
log(log &&) = delete;
log(const log &) = delete;
~log() noexcept;
static bool exists(const log *const &ptr);
static log *find(const string_view &name);

View file

@ -173,6 +173,12 @@ ircd::info::versions::versions(const string_view &name,
this->semantic[2]);
}
// Required for instance_list template instantiation.
ircd::info::versions::~versions()
noexcept
{
}
//
// Primary information
//

View file

@ -416,6 +416,12 @@ ircd::log::log::log(const string_view &name,
}
}
// required for instance_list template instantiation.
ircd::log::log::~log()
noexcept
{
}
//
// vlog
//