Skip to content

Commit

Permalink
Fix for dll export for global enums created with cisstDataGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
adeguet1 committed Apr 10, 2024
1 parent 0c60eac commit b7c89f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cisstCommon/applications/cisstDataGenerator/cdgEnum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void cdgEnum::GenerateHeader(std::ostream & outputStream) const
if (ClassName == "") {
outputStream << "CMN_DATA_SPECIALIZATION_FOR_ENUM_USER_HUMAN_READABLE(" << name << ", int, " << name << "ToString);" << std::endl
<< "#if CISST_HAS_JSON" << std::endl
<< " CMN_DECLARE_DATA_FUNCTIONS_JSON_FOR_ENUM(" << name << ");" << std::endl
<< " CMN_DECLARE_DATA_FUNCTIONS_JSON_FOR_ENUM_EXPORT(" << name << ");" << std::endl
<< "#endif // CISST_HAS_JSON" << std::endl;
}
}
Expand Down

0 comments on commit b7c89f5

Please sign in to comment.