Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Thomas Arnbjerg on August 15, 2024, 04:30:03 pm

Title: C++ body contains "empty string" include
Post by: Thomas Arnbjerg on August 15, 2024, 04:30:03 pm
Hi all,

I have to seemingly identical classes. When I generate C++ code I see the following in the body file in one of the body files (cpp):

#include ""

The other correctly contains:

#include "./ConfigureSledResponse.hpp"

Any ideas?
Title: Re: C++ body contains "empty string" include
Post by: Thomas Arnbjerg on August 15, 2024, 04:37:14 pm
Update - the class, which correctly includes the header contains a custom tag with the includes. This tag is used in the code generation.

This solves my problem.