diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-09 15:53:49 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-09 15:53:49 +0200 |
commit | 28331fdb068ae446df8fda4e7c151e424de56b6c (patch) | |
tree | 465ba81f0523dde4b4a5773c5f1cff3562798352 | |
parent | e6c37d426e95bec6c452ad80ab8357fd9a69e28f (diff) |
Wrong headers
-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; } |