From b2f98226326bdbb9dfed3bd9fa50329572a511ef Mon Sep 17 00:00:00 2001 From: ThePhD Date: Thu, 24 Aug 2017 17:49:08 -0400 Subject: [PATCH] Mmmn, still can't type conditionals --- examples/pairs.cpp | 2 +- examples/pairs_with_raw_functions.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/pairs.cpp b/examples/pairs.cpp index d6d83124..b4240bde 100644 --- a/examples/pairs.cpp +++ b/examples/pairs.cpp @@ -77,7 +77,7 @@ int main(int, char*[]) { sol::meta_function::pairs, my_pairs ); -#if SOL_LUA_VERSION < 502 +#if SOL_LUA_VERSION > 501 lua.safe_script(R"( local mt = my_thing.new() for k, v in pairs(mt) do diff --git a/examples/pairs_with_raw_functions.cpp b/examples/pairs_with_raw_functions.cpp index 2a560910..1a376777 100644 --- a/examples/pairs_with_raw_functions.cpp +++ b/examples/pairs_with_raw_functions.cpp @@ -72,7 +72,7 @@ int main(int, char*[]) { sol::meta_function::pairs, &my_pairs ); -#if SOL_LUA_VERSION < 502 +#if SOL_LUA_VERSION > 501 lua.safe_script(R"( local mt = my_thing.new() for k, v in pairs(mt) do