From f752212c4ddc3cad5fc7921114c9098ae8ddca65 Mon Sep 17 00:00:00 2001 From: Trinitou <106991375+Trinitou@users.noreply.github.com> Date: Fri, 9 Feb 2024 14:24:40 +0100 Subject: [PATCH] PresetDiscoveryProvider: fix error message (#53) --- include/clap/helpers/preset-discovery-provider.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/clap/helpers/preset-discovery-provider.hxx b/include/clap/helpers/preset-discovery-provider.hxx index 6af9798..e202178 100644 --- a/include/clap/helpers/preset-discovery-provider.hxx +++ b/include/clap/helpers/preset-discovery-provider.hxx @@ -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; @@ -95,4 +95,4 @@ namespace clap { namespace helpers { } } } -}} // namespace clap::helpers \ No newline at end of file +}} // namespace clap::helpers