forked from Alepha/Alepha
Get everything building again.
This commit is contained in:
@ -15,6 +15,7 @@ static_assert( __cplusplus > 2020'99 );
|
|||||||
#include <Alepha/Thread.h>
|
#include <Alepha/Thread.h>
|
||||||
#include <Alepha/Exception.h>
|
#include <Alepha/Exception.h>
|
||||||
#include <Alepha/assertion.h>
|
#include <Alepha/assertion.h>
|
||||||
|
#include <Alepha/error.h>
|
||||||
|
|
||||||
namespace Alepha::Hydrogen::Atomic ::detail:: Mailbox_m
|
namespace Alepha::Hydrogen::Atomic ::detail:: Mailbox_m
|
||||||
{
|
{
|
||||||
@ -158,14 +159,14 @@ namespace Alepha::Hydrogen::Atomic ::detail:: Mailbox_m
|
|||||||
if( pos == end( filled ) ) raiseFinished();
|
if( pos == end( filled ) ) raiseFinished();
|
||||||
mustFinish= true;
|
mustFinish= true;
|
||||||
}
|
}
|
||||||
assert( &*pos != nullptr );
|
assertion( &*pos != nullptr );
|
||||||
assert( pos != end( filled ) );
|
assertion( pos != end( filled ) );
|
||||||
}
|
}
|
||||||
else error() << "We did not hit the sync point." << std::endl;
|
else error() << "We did not hit the sync point." << std::endl;
|
||||||
assert( pos != end( filled ) );
|
assertion( pos != end( filled ) );
|
||||||
assert( not filled.empty() );
|
assertion( not filled.empty() );
|
||||||
|
|
||||||
assert( &*pos != nullptr );
|
assertion( &*pos != nullptr );
|
||||||
return std::move( *pos++ );
|
return std::move( *pos++ );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@ static_assert( __cplusplus > 2020'99 );
|
|||||||
#include <Alepha/Testing/test.h>
|
#include <Alepha/Testing/test.h>
|
||||||
#include <Alepha/Testing/TableTest.h>
|
#include <Alepha/Testing/TableTest.h>
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
|
|
||||||
static auto init= Alepha::Utility::enroll <=[]
|
static auto init= Alepha::Utility::enroll <=[]
|
||||||
{
|
{
|
||||||
using namespace Alepha::Testing::exports;
|
using namespace Alepha::Testing::exports;
|
||||||
|
Reference in New Issue
Block a user