Merge branch 'develop' of https://github.com/ChaiScript/ChaiScript into AddMoreWarningFlags

This commit is contained in:
Jason Turner
2015-01-15 15:45:45 -07:00
2 changed files with 5 additions and 5 deletions

View File

@@ -574,7 +574,7 @@ namespace chaiscript
{
m->add(user_type<FutureType>(), type);
m->add(fun(&FutureType::valid), "valid");
m->add(fun<bool (const FutureType &)>([](const FutureType &t) { return t.valid(); }), "valid");
m->add(fun(&FutureType::get), "get");
m->add(fun(&FutureType::wait), "wait");