mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-19 20:59:11 +08:00
Improve compilation by clang19
This commit is contained in:
parent
5be84c56b3
commit
99dac89376
@ -71,7 +71,7 @@ template<class T, class TT = T> using WritableDataStoreOnly = std::enable_if_t<I
|
|||||||
template<class T, class ArrItem>
|
template<class T, class ArrItem>
|
||||||
void set_data(ArrItem &itm, const std::string &key, T &&data)
|
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>;
|
template<class T> constexpr bool IsReadWritableDataStore = IsDataStore<T> && IsWritableDataStore<T>;
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include <wx/button.h>
|
#include <wx/button.h>
|
||||||
#include <wx/statbox.h>
|
#include <wx/statbox.h>
|
||||||
#include <wx/wupdlock.h>
|
#include <wx/wupdlock.h>
|
||||||
|
#include <wx/tooltip.h>
|
||||||
#if wxUSE_SECRETSTORE
|
#if wxUSE_SECRETSTORE
|
||||||
#include <wx/secretstore.h>
|
#include <wx/secretstore.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
#include <boost/nowide/cstdio.hpp>
|
#include <boost/nowide/cstdio.hpp>
|
||||||
#include <boost/nowide/fstream.hpp>
|
#include <boost/nowide/fstream.hpp>
|
||||||
|
#include <boost/nowide/convert.hpp>
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
#include <boost/log/trivial.hpp>
|
#include <boost/log/trivial.hpp>
|
||||||
#include <boost/property_tree/xml_parser.hpp>
|
#include <boost/property_tree/xml_parser.hpp>
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
|
#include <regex>
|
||||||
|
#include <boost/nowide/convert.hpp>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user