build: Fix nothrow include. (#749)
This commit is contained in:
committed by
GitHub
parent
0cd9ccf170
commit
6d50141e35
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -33,6 +33,10 @@ jobs:
|
||||
extra-cmake-flags: [ "" ]
|
||||
# Modify the complete matrix
|
||||
include:
|
||||
- os: "ubuntu-22.04"
|
||||
variant: "C++17"
|
||||
build-type: "Debug"
|
||||
extra-cmake-flags: "-DSNMALLOC_USE_CXX17=ON"
|
||||
- os: "ubuntu-20.04"
|
||||
variant: "C++17"
|
||||
build-type: "Debug"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#include "snmalloc/snmalloc.h"
|
||||
|
||||
#include <new>
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef __clang__
|
||||
# define EXCEPTSPEC noexcept
|
||||
|
||||
Reference in New Issue
Block a user