mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fixed a crash due to static initialization order fiasco on some platforms
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@146 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
f1030c6dfd
commit
a91d0975bc
5 changed files with 47 additions and 23 deletions
|
|
@ -16,6 +16,11 @@
|
|||
#include <turtle/object.hpp>
|
||||
#include <turtle/function.hpp>
|
||||
|
||||
namespace
|
||||
{
|
||||
mock::object static_o;
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE( verifying_an_empty_object_succeeds )
|
||||
{
|
||||
mock::object o;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue