summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/implementation_include_directive.hpp
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-05-31 16:32:20 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-06-02 18:27:46 -0300
commit6dcc8dd07faddba6de77fe75428a3724df964f47 (patch)
tree4277b18b671f7969d16ef8627109f02079cbc906 /src/lib/eolian_cxx/grammar/implementation_include_directive.hpp
parentcc708064979314a94971fa00668ae14e6d1cab43 (diff)
eolian-cxx: Fixed compilation error after Eolian_Unit type introduction
Diffstat (limited to '')
-rw-r--r--src/lib/eolian_cxx/grammar/implementation_include_directive.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/implementation_include_directive.hpp b/src/lib/eolian_cxx/grammar/implementation_include_directive.hpp
index 6c2631ab80..f82d84b9ea 100644
--- a/src/lib/eolian_cxx/grammar/implementation_include_directive.hpp
+++ b/src/lib/eolian_cxx/grammar/implementation_include_directive.hpp
@@ -20,7 +20,7 @@ struct implementation_include_directive_generator
20 bool generate(OutputIterator sink, attributes::klass_def const& cls, Context const& ctx) const 20 bool generate(OutputIterator sink, attributes::klass_def const& cls, Context const& ctx) const
21 { 21 {
22 return as_generator("#include \"" << string << ".impl.hh\"\n") 22 return as_generator("#include \"" << string << ".impl.hh\"\n")
23 .generate(sink, std::string(eolian_class_file_get(get_klass(get_klass_name(cls)))), add_lower_case_context(ctx)); 23 .generate(sink, std::string(eolian_class_file_get(get_klass(get_klass_name(cls, unit_from_context(ctx))))), add_lower_case_context(ctx));
24 } 24 }
25 template <typename OutputIterator, typename Context> 25 template <typename OutputIterator, typename Context>
26 bool generate(OutputIterator sink, std::string const& cls, Context const& ctx) const 26 bool generate(OutputIterator sink, std::string const& cls, Context const& ctx) const