FIX: the json val could be long long or string

jira: [none]
Change-Id: Ic06276adf5e7663d57ba1c4b6f9a57e897a9075d
(cherry picked from commit edaaa0b70523951aaa0d415ab178a438a7d7b377)
This commit is contained in:
xin.zhang
2025-02-08 19:51:49 +08:00
committed by Noisyfox
parent 19a6a20b23
commit 9e024d1d4d
4 changed files with 47 additions and 15 deletions

View File

@@ -1370,6 +1370,14 @@ public:
// change the opacity
void change_the_opacity(wxColour& colour);
} // namespace Slic3r
class JsonValParser
{
public:
static std::string get_longlong_val(const json& j);
};
}; // namespace Slic3r
#endif // slic3r_DeviceManager_hpp_