From 8a128a57cd5040583e92f7c6519fde4693ca9f3b Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Fri, 19 Jan 2018 10:34:37 +0100 Subject: [PATCH] cppbind: forward declarations --- simgear/nasal/cppbind/cppbind_fwd.hxx | 2 ++ simgear/nasal/cppbind/detail/from_nasal_helper.hxx | 2 -- simgear/nasal/cppbind/detail/to_nasal_helper.hxx | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/simgear/nasal/cppbind/cppbind_fwd.hxx b/simgear/nasal/cppbind/cppbind_fwd.hxx index c57b8fbb..4f122fba 100644 --- a/simgear/nasal/cppbind/cppbind_fwd.hxx +++ b/simgear/nasal/cppbind/cppbind_fwd.hxx @@ -27,6 +27,8 @@ namespace nasal { + class bad_nasal_cast; + class CallContext; class Context; class ContextWrapper; diff --git a/simgear/nasal/cppbind/detail/from_nasal_helper.hxx b/simgear/nasal/cppbind/detail/from_nasal_helper.hxx index 9eee0690..436dcb3c 100644 --- a/simgear/nasal/cppbind/detail/from_nasal_helper.hxx +++ b/simgear/nasal/cppbind/detail/from_nasal_helper.hxx @@ -43,8 +43,6 @@ class SGPath; namespace nasal { - class Hash; - class String; /** * Thrown when converting a type from/to Nasal has failed diff --git a/simgear/nasal/cppbind/detail/to_nasal_helper.hxx b/simgear/nasal/cppbind/detail/to_nasal_helper.hxx index f34d9fb6..7d54fcb6 100644 --- a/simgear/nasal/cppbind/detail/to_nasal_helper.hxx +++ b/simgear/nasal/cppbind/detail/to_nasal_helper.hxx @@ -24,7 +24,7 @@ #include #include -#include +#include #include #include @@ -40,8 +40,6 @@ class SGPath; namespace nasal { - class CallContext; - class Hash; typedef boost::function free_function_t;