Skip to content

Commit

Permalink
Correct interface name for require api type-only
Browse files Browse the repository at this point in the history
The interface name for require api type-only uses default prefix
which is not correct.
To make sure interface name generated correctly, the alias should
be used as prefix.

Resolves: LE-12988
Change-Id: I73bc757e0b72107ffd5fa294ba197ef4e0383577
  • Loading branch information
bthuytma authored and stan-podin committed Nov 1, 2019
1 parent 37191bf commit 2fee371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/tools/defTools/conceptualModel/api.cpp
Expand Up @@ -378,7 +378,7 @@ const
{
std::string codeGenDir = path::Combine(apiFilePtr->codeGenDir, "client/");

cFiles.interfaceFile = codeGenDir + apiFilePtr->defaultPrefix + "_interface.h";
cFiles.interfaceFile = codeGenDir + internalName + "_interface.h";
cFiles.internalHFile = "";
cFiles.sourceFile = "";
cFiles.objectFile = "";
Expand Down

0 comments on commit 2fee371

Please sign in to comment.