diff options
Diffstat (limited to 'modules/tools')
-rw-r--r-- | modules/tools/c++/c_gen_iface.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tools/c++/c_gen_iface.hpp b/modules/tools/c++/c_gen_iface.hpp index cc06339..8016c6a 100644 --- a/modules/tools/c++/c_gen_iface.hpp +++ b/modules/tools/c++/c_gen_iface.hpp @@ -598,7 +598,7 @@ struct lang_bind<schema::Struct<schema::Member<V,K>...>, binding::SyncC> { * Generate translation element */ { - auto eov = lang_bind_helper::append_string(tpe.at(id).header, "namespace {\n"); + auto eov = lang_bind_helper::append_string(tpe.at(id).source, "namespace {\n"); if(eov.is_error()){ return eov; } @@ -616,7 +616,7 @@ struct lang_bind<schema::Struct<schema::Member<V,K>...>, binding::SyncC> { } } { - auto eov = lang_bind_helper::append_string(tpe.at(id).header, "}\n"); + auto eov = lang_bind_helper::append_string(tpe.at(id).source, "}\n"); if(eov.is_error()){ return eov; } |