aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/cpprealm/remove-overzealous-template.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/cpprealm/remove-overzealous-template.diff')
-rw-r--r--vcpkg/ports/cpprealm/remove-overzealous-template.diff22
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 {