pgsql: Don't rely on llvm::make_unique.

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

pgsql: Don't rely on llvm::make_unique.

Thomas Munro-4
Don't rely on llvm::make_unique.

Bleeding-edge LLVM has stopped supplying replacements for various
C++14 library features, for people on older C++ versions.  Since we're
not ready to require C++14 yet, just use plain old new instead of
make_unique.  As revealed by buildfarm animal seawasp.

Back-patch to 11.

Reviewed-by: Andres Freund



Modified Files
src/backend/jit/llvm/llvmjit_inline.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)