Skip to content

Commit

Permalink
Fixed skipping of unsupported generators for diagram types (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkryza committed Dec 10, 2024
1 parent 855fea2 commit 902332f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/generators/generators.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ constexpr bool generator_supports_diagram_type(
typename diagram_generator_t<clanguml::config::sequence_diagram,
GeneratorTag>::type>;
case diagram_t::kPackage:
return std::is_same_v<not_supported,
return !std::is_same_v<not_supported,
typename diagram_generator_t<clanguml::config::package_diagram,
GeneratorTag>::type>;
case diagram_t::kInclude:
return std::is_same_v<not_supported,
return !std::is_same_v<not_supported,
typename diagram_generator_t<clanguml::config::include_diagram,
GeneratorTag>::type>;
default:
Expand Down

0 comments on commit 902332f

Please sign in to comment.