fix.patch

text/x-patch

Filename: fix.patch
Type: text/x-patch
Part: 0
Message: Re: Change copyObject() to use typeof_unqual

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/include/c.h 1 1
diff --git a/src/include/c.h b/src/include/c.h
index 2aab74d8b0e..b4a37661795 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -447,7 +447,7 @@ extern "C++"
 #ifdef pg_cxx_typeof
 #define typeof(x) pg_cxx_typeof(x)
 #elif !defined(HAVE_CXX_TYPEOF)
-#define typeof(x) std::remove_reference_t<decltype(x)>
+#define typeof(x) std::remove_reference<decltype(x)>::value
 #endif
 #ifndef HAVE_TYPEOF
 #define HAVE_TYPEOF 1