0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-04 21:08:57 +01:00

ircd::fs: Prevent ODR warnings from these weak defs.

This commit is contained in:
Jason Volk 2018-12-26 15:49:08 -08:00
parent 444000faf1
commit 5fb887096b

View file

@ -1062,7 +1062,7 @@ ircd::fs::aio::context;
// init
//
__attribute__((weak))
#ifndef IRCD_USE_AIO
ircd::fs::aio::init::init()
{
assert(!context);
@ -1071,13 +1071,15 @@ ircd::fs::aio::init::init()
"No support for asynchronous local filesystem IO..."
};
}
#endif
__attribute__((weak))
#ifndef IRCD_USE_AIO
ircd::fs::aio::init::~init()
noexcept
{
assert(!context);
}
#endif
///////////////////////////////////////////////////////////////////////////////
//