diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-07-28 18:30:03 +0200 |
---|---|---|
committer | Ivan Komissarov <abbapoh@gmail.com> | 2020-12-18 17:00:26 +0100 |
commit | 8d92009942ba69b816f2e5125ca0c0d1b38f97b0 (patch) | |
tree | 283a2c2c0252f097e617dd3e7777136d5f3d0086 /src/3rdparty/javascriptcore/JavaScriptCore/parser/Parser.cpp | |
parent | 2b20531fe05b096104e23216c0556acb1080927f (diff) | |
download | qtscript-8d92009942ba69b816f2e5125ca0c0d1b38f97b0.tar.gz |
Fix build in C++17 mode
Replaces auto-ptrs with unique_ptrs and fixes the ceil() macro which
confilcts with some other code in Qt6 headers.
Change-Id: I59e45fae84878d1fa0cf59383f0eb7763f1ecc68
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/3rdparty/javascriptcore/JavaScriptCore/parser/Parser.cpp')
-rw-r--r-- | src/3rdparty/javascriptcore/JavaScriptCore/parser/Parser.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/parser/Parser.cpp b/src/3rdparty/javascriptcore/JavaScriptCore/parser/Parser.cpp index 4c046d0..5a68703 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/parser/Parser.cpp +++ b/src/3rdparty/javascriptcore/JavaScriptCore/parser/Parser.cpp @@ -29,8 +29,6 @@ #include <wtf/Vector.h> #include <memory> -using std::auto_ptr; - #ifndef yyparse extern int jscyyparse(void*); #endif |