diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cpprealm/remove-overzealous-template.diff | |
Diffstat (limited to 'vcpkg/ports/cpprealm/remove-overzealous-template.diff')
| -rw-r--r-- | vcpkg/ports/cpprealm/remove-overzealous-template.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/cpprealm/remove-overzealous-template.diff b/vcpkg/ports/cpprealm/remove-overzealous-template.diff new file mode 100644 index 0000000..fed9852 --- /dev/null +++ b/vcpkg/ports/cpprealm/remove-overzealous-template.diff @@ -0,0 +1,22 @@ +diff --git a/include/cpprealm/schema.hpp b/include/cpprealm/schema.hpp +index 7494d60..7479c3c 100644 +--- a/include/cpprealm/schema.hpp ++++ b/include/cpprealm/schema.hpp +@@ -253,7 +253,7 @@ namespace realm { + + if constexpr (N + 1 == sizeof...(Properties)) { + if (property_name == std::string_view(names[N])) { +- auto ptr = managed<Class, void>::template unmanaged_to_managed_pointer(property.ptr); ++ auto ptr = managed<Class, void>::unmanaged_to_managed_pointer(property.ptr); + if constexpr (std::is_pointer_v<typename P::Result>) { + return (cls.*ptr); + } else { +@@ -263,7 +263,7 @@ namespace realm { + return variant_t{}; + } else { + if (property_name == std::string_view(names[N])) { +- auto ptr = managed<Class, void>::template unmanaged_to_managed_pointer(property.ptr); ++ auto ptr = managed<Class, void>::unmanaged_to_managed_pointer(property.ptr); + if constexpr (std::is_pointer_v<typename P::Result>) { + return (cls.*ptr); + } else { |