Fix threading warning discovered with MSVC -Wall

MSVC in -Wall mode creates approximately 6,500 warnings. 5,000+ of which are
from the std library. The one gem was the potential for threading issues with
the initilization of a function scoped static.

This fixes that.
This commit is contained in:
Jason Turner
2014-05-09 17:46:06 -06:00
parent c2d08457ad
commit 5f2796868b
2 changed files with 12 additions and 8 deletions

View File

@@ -15,6 +15,7 @@
#include <stdexcept>
#include <vector>
#include <functional>
namespace chaiscript
{