mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
chore: more cleanup and fixes
This commit is contained in:
parent
27f2b6d0cd
commit
f3d3cc32e1
@ -158,7 +158,7 @@ template <typename T> bool typeCheck (const nlohmann::json::const_iterator& valu
|
|||||||
}
|
}
|
||||||
} else if constexpr (
|
} else if constexpr (
|
||||||
std::is_same_v<T, glm::vec2> || std::is_same_v<T, glm::vec3> || std::is_same_v<T, glm::vec4> ||
|
std::is_same_v<T, glm::vec2> || std::is_same_v<T, glm::vec3> || std::is_same_v<T, glm::vec4> ||
|
||||||
std::is_same_v<T, glm::ivec2> || std::is_same_v<T, glm::ivec3> || std::is_same_v<T, glm::ivec4) {
|
std::is_same_v<T, glm::ivec2> || std::is_same_v<T, glm::ivec3> || std::is_same_v<T, glm::ivec4>) {
|
||||||
if (value->type () != nlohmann::detail::value_t::string) {
|
if (value->type () != nlohmann::detail::value_t::string) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user