add namespaces to create linker errors

This commit is contained in:
Denis Blank 2015-08-11 20:39:47 +02:00
parent 5e5273fae7
commit af323ef531
2 changed files with 15 additions and 0 deletions

View File

@ -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();

View File

@ -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();