Skip to content

Commit 1d18e53

Browse files
authored
Fix #23 by making DumpTypeToString constexpr (#24)
1 parent 2c65a9e commit 1d18e53

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ project(
1111
kdmp-parser
1212
DESCRIPTION "A Cross-Platform C++ parser library for Windows kernel minidumps."
1313
HOMEPAGE_URL https://github.com/0vercl0k/kdmp-parser
14-
VERSION 0.7.0
14+
VERSION 0.7.1
1515
)
1616

1717
set(PROJECT_AUTHOR 0vercl0k)

src/lib/kdmp-parser-structs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static void DisplayHeader(const uint32_t Prefix, const char *FieldName,
7575
// This takes care of displaying basic types.
7676
//
7777

78-
const std::string_view DumpTypeToString(const DumpType_t Type) {
78+
constexpr std::string_view DumpTypeToString(const DumpType_t Type) {
7979
switch (Type) {
8080
// Old dump types from dbgeng.dll
8181
case DumpType_t::FullDump:

src/python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ project(
1313
kdmp-parser-python
1414
DESCRIPTION "A Cross-Platform C++ parser library for Windows kernel minidumps."
1515
HOMEPAGE_URL https://github.com/0vercl0k/kdmp-parser
16-
VERSION 0.7.0
16+
VERSION 0.7.1
1717
)
1818
set(PROJECT_AUTHOR 0vercl0k)
1919
set(PROJECT_LICENSE MIT)

src/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "kdmp-parser"
7-
version = "0.7.0"
7+
version = "0.7.1"
88
description = "A Cross-Platform C++ parser library for Windows kernel minidumps."
99
readme = "README.md"
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)