Improve compilation by clang19

This commit is contained in:
Martin Šach 2025-01-10 10:37:41 +01:00 committed by Martin Šach
parent 5be84c56b3
commit 99dac89376
4 changed files with 5 additions and 1 deletions

View File

@ -71,7 +71,7 @@ template<class T, class TT = T> using WritableDataStoreOnly = std::enable_if_t<I
template<class T, class ArrItem>
void set_data(ArrItem &itm, const std::string &key, T &&data)
{
WritableDataStoreTraits<ArrItem>::template set(itm, key, std::forward<T>(data));
WritableDataStoreTraits<ArrItem>::template set<>(itm, key, std::forward<T>(data));
}
template<class T> constexpr bool IsReadWritableDataStore = IsDataStore<T> && IsWritableDataStore<T>;

View File

@ -17,6 +17,7 @@
#include <wx/button.h>
#include <wx/statbox.h>
#include <wx/wupdlock.h>
#include <wx/tooltip.h>
#if wxUSE_SECRETSTORE
#include <wx/secretstore.h>
#endif

View File

@ -13,6 +13,7 @@
#include <boost/filesystem.hpp>
#include <boost/nowide/cstdio.hpp>
#include <boost/nowide/fstream.hpp>
#include <boost/nowide/convert.hpp>
#include <curl/curl.h>
#include <string>

View File

@ -4,6 +4,8 @@
#include <boost/log/trivial.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/filesystem.hpp>
#include <regex>
#include <boost/nowide/convert.hpp>
#ifdef _WIN32
#include <windows.h>