Skip to content

Commit

Permalink
PresetDiscoveryProvider: fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinitou authored Feb 7, 2024
1 parent 7b53a68 commit 4279711
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/clap/helpers/preset-discovery-provider.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace clap { namespace helpers {

if (l >= CheckingLevel::Minimal) {
if (self._isBeingDestroyed) {
std::cerr << "clap_preset_discovery_provider.init() was called twice" << std::endl;
std::cerr << "clap_preset_discovery_provider.destroy() was called twice" << std::endl;
if (h == MisbehaviourHandler::Terminate)
std::terminate();
return;
Expand Down Expand Up @@ -95,4 +95,4 @@ namespace clap { namespace helpers {
}
}
}
}} // namespace clap::helpers
}} // namespace clap::helpers

0 comments on commit 4279711

Please sign in to comment.