mirror of
https://github.com/Naios/continuable.git
synced 2026-01-01 03:12:12 +08:00
add namespaces to create linker errors
This commit is contained in:
parent
5e5273fae7
commit
af323ef531
@ -39,6 +39,9 @@
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
namespace incubator
|
||||
{
|
||||
|
||||
enum SpellCastResult
|
||||
{
|
||||
SPELL_FAILED_SUCCESS = 0,
|
||||
@ -714,6 +717,10 @@ void test_cross_forward()
|
||||
++i;
|
||||
}
|
||||
|
||||
} // namespace incubator
|
||||
|
||||
using namespace incubator;
|
||||
|
||||
void test_incubator()
|
||||
{
|
||||
test_cross_forward();
|
||||
|
||||
@ -20,6 +20,10 @@
|
||||
#include <tuple>
|
||||
#include <memory>
|
||||
|
||||
|
||||
namespace mockup
|
||||
{
|
||||
|
||||
template <typename...>
|
||||
struct Continuable;
|
||||
|
||||
@ -172,6 +176,10 @@ void final_mockup()
|
||||
});
|
||||
}
|
||||
|
||||
}// namespace mockup
|
||||
|
||||
using namespace mockup;
|
||||
|
||||
void test_mockup()
|
||||
{
|
||||
create_continuable_mockup();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user