[cpptrace] Add 0.3.1 (#35473)

This commit is contained in:
Jeremy Rifkin 2023-12-04 20:31:13 -05:00 committed by GitHub
parent 8b838b5616
commit 83055c068d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 18 deletions

View File

@ -1,13 +0,0 @@
diff --git a/include/cpptrace/cpptrace.hpp b/include/cpptrace/cpptrace.hpp
index b35bed1..27b626b 100644
--- a/include/cpptrace/cpptrace.hpp
+++ b/include/cpptrace/cpptrace.hpp
@@ -90,7 +90,7 @@ namespace cpptrace {
// This is used over std::optional because the library is C++11 and also std::optional is a bit heavy-duty for this
// use.
template<typename T, typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
- struct CPPTRACE_EXPORT nullable {
+ struct nullable {
T raw_value;
nullable& operator=(T value) {
raw_value = value;

View File

@ -2,10 +2,8 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jeremy-rifkin/cpptrace
REF "v${VERSION}"
SHA512 10b3106eb10b16ec7459ebd7f5e10c08238c553ed8718aa0f9e5e83a921d970f742eef214148ddd33d0d20e7cb14489ae24bc5b70f0523dc0a3abb139a8357a8
SHA512 732f8f70d9c8f01d10802bbb1da150d75b93c15fa0299bb84ba5be87d0da52ebe3b637e382a044c8d1e4ea283fae84c008113fc1f17ec4224692d5d911ab45d7
HEAD_REF main
PATCHES
nullable_export.patch
)
vcpkg_cmake_configure(

View File

@ -1,6 +1,6 @@
{
"name": "cpptrace",
"version": "0.3.0",
"version": "0.3.1",
"description": "Simple, portable, and self-contained stacktrace library for C++11 and newer",
"homepage": "https://github.com/jeremy-rifkin/cpptrace",
"license": "MIT",

View File

@ -1901,7 +1901,7 @@
"port-version": 4
},
"cpptrace": {
"baseline": "0.3.0",
"baseline": "0.3.1",
"port-version": 0
},
"cppunit": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a9dc1989a430b531df437790e61d09b411342ec3",
"version": "0.3.1",
"port-version": 0
},
{
"git-tree": "620e293efe2a80f6abdf9499855b09718cd8a051",
"version": "0.3.0",