From 4f197dbb9195e026011265c7586eee141c16b5dd Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sat, 14 Dec 2013 20:16:28 -0500 Subject: [PATCH] operator!= for `nil_t` --- sol/types.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sol/types.hpp b/sol/types.hpp index c1cf4b4e..e84682e0 100644 --- a/sol/types.hpp +++ b/sol/types.hpp @@ -115,6 +115,7 @@ inline type type_of() { } inline bool operator==(nil_t, nil_t) { return true; } +inline bool operator!=(nil_t, nil_t) { return false; } } // sol #endif // SOL_TYPES_HPP \ No newline at end of file