From fd035084de1bbf42cee1cd2b4f74a44a53c40e59 Mon Sep 17 00:00:00 2001 From: mjk Date: Thu, 18 Mar 2021 15:13:46 +0000 Subject: [PATCH] unimplement accidentally implemented wide string overloads of describe_argument --- plugins/windows-notification/api/include/ginvoke.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/windows-notification/api/include/ginvoke.hpp b/plugins/windows-notification/api/include/ginvoke.hpp index 5d4b766d..b1e7aacb 100644 --- a/plugins/windows-notification/api/include/ginvoke.hpp +++ b/plugins/windows-notification/api/include/ginvoke.hpp @@ -60,9 +60,9 @@ template inline auto &describe_argument(OStream &s, const char * const a) { return s << std::quoted(a); } // TODO: overload for const GString * template -inline auto &describe_argument(OStream &s, std::wstring_view const a) { return s << std::quoted(a); } +inline auto &describe_argument(OStream &s, std::wstring_view const a) = delete; // not implemented template -inline auto &describe_argument(OStream &s, const std::wstring & a) { return s << std::quoted(a); } +inline auto &describe_argument(OStream &s, const std::wstring & a) = delete; // not implemented template inline auto &describe_argument(OStream &s, const wchar_t * const a) = delete; // not implemented // TODO: handle wide strings maybe