mirror of
https://github.com/Naios/continuable.git
synced 2026-02-09 03:06:41 +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>
|
#include <boost/optional.hpp>
|
||||||
|
|
||||||
|
namespace incubator
|
||||||
|
{
|
||||||
|
|
||||||
enum SpellCastResult
|
enum SpellCastResult
|
||||||
{
|
{
|
||||||
SPELL_FAILED_SUCCESS = 0,
|
SPELL_FAILED_SUCCESS = 0,
|
||||||
@ -714,6 +717,10 @@ void test_cross_forward()
|
|||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace incubator
|
||||||
|
|
||||||
|
using namespace incubator;
|
||||||
|
|
||||||
void test_incubator()
|
void test_incubator()
|
||||||
{
|
{
|
||||||
test_cross_forward();
|
test_cross_forward();
|
||||||
|
|||||||
@ -20,6 +20,10 @@
|
|||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|
||||||
|
namespace mockup
|
||||||
|
{
|
||||||
|
|
||||||
template <typename...>
|
template <typename...>
|
||||||
struct Continuable;
|
struct Continuable;
|
||||||
|
|
||||||
@ -172,6 +176,10 @@ void final_mockup()
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}// namespace mockup
|
||||||
|
|
||||||
|
using namespace mockup;
|
||||||
|
|
||||||
void test_mockup()
|
void test_mockup()
|
||||||
{
|
{
|
||||||
create_continuable_mockup();
|
create_continuable_mockup();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user