Skip to content

Commit e3b21aa

Browse files
committed
build: fix android
1 parent 507a26d commit e3b21aa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/client/cssom/style_traits.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <concepts>
44
#include <string>
55
#include <glm/glm.hpp>
6+
#include <common/utility.hpp>
67

78
namespace client_cssom
89
{
@@ -19,7 +20,7 @@ namespace client_cssom
1920
public:
2021
// Parse a string to a single value of type T which is derived from Parse.
2122
template <typename T>
22-
requires std::derived_from<T, Parse>
23+
requires transmute::common::derived_from<T, Parse>
2324
static T ParseSingleValue(const std::string &input)
2425
{
2526
T value;

src/client/cssom/values/generics/position.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <concepts>
55
#include <optional>
66
#include <crates/bindings.hpp>
7+
#include <common/utility.hpp>
78

89
namespace client_cssom::values::generics
910
{
@@ -69,8 +70,8 @@ namespace client_cssom::values::generics
6970
};
7071

7172
template <typename H, typename V>
72-
requires std::derived_from<H, PositionComponent> &&
73-
std::derived_from<V, PositionComponent>
73+
requires transmute::common::derived_from<H, PositionComponent> &&
74+
transmute::common::derived_from<V, PositionComponent>
7475
class GenericPosition
7576
{
7677
public:

0 commit comments

Comments
 (0)