From 4e42a34b96c2cbc51c891d8a445368f0332766bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kay=20=C5=9Eat=C4=B1r?= Date: Fri, 15 Apr 2022 14:08:25 +0300 Subject: [PATCH] =?UTF-8?q?Attempt=20to=20fix:=20=20error:=20call=20of=20o?= =?UTF-8?q?verloaded=20=E2=80=98basic=5Fstring(const=20Poco::Dynamic::Var&?= =?UTF-8?q?)=E2=80=99=20is=20ambiguous?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gökay Şatır Change-Id: Ibaa77e94a8e12f1dbc38e40b14ce8184dafcd7bd --- wsd/COOLWSD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wsd/COOLWSD.cpp b/wsd/COOLWSD.cpp index 9640177e4..6d85727fd 100644 --- a/wsd/COOLWSD.cpp +++ b/wsd/COOLWSD.cpp @@ -1392,7 +1392,7 @@ public: LOG_WRN("Element in fonts array is not a string"); else { - fonts[std::string(fontPtr)].active = true; + fonts[fontPtr.toString()].active = true; } }