mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 23:44:01 +01:00
ircd::fs: Prevent ODR warnings from these weak defs.
This commit is contained in:
parent
444000faf1
commit
5fb887096b
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue