Skip to content

Commit

Permalink
Fix #23 by making DumpTypeToString constexpr (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
0vercl0k authored Dec 19, 2023
1 parent 2c65a9e commit 1d18e53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ project(
kdmp-parser
DESCRIPTION "A Cross-Platform C++ parser library for Windows kernel minidumps."
HOMEPAGE_URL https://github.com/0vercl0k/kdmp-parser
VERSION 0.7.0
VERSION 0.7.1
)

set(PROJECT_AUTHOR 0vercl0k)
Expand Down
2 changes: 1 addition & 1 deletion src/lib/kdmp-parser-structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static void DisplayHeader(const uint32_t Prefix, const char *FieldName,
// This takes care of displaying basic types.
//

const std::string_view DumpTypeToString(const DumpType_t Type) {
constexpr std::string_view DumpTypeToString(const DumpType_t Type) {
switch (Type) {
// Old dump types from dbgeng.dll
case DumpType_t::FullDump:
Expand Down
2 changes: 1 addition & 1 deletion src/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ project(
kdmp-parser-python
DESCRIPTION "A Cross-Platform C++ parser library for Windows kernel minidumps."
HOMEPAGE_URL https://github.com/0vercl0k/kdmp-parser
VERSION 0.7.0
VERSION 0.7.1
)
set(PROJECT_AUTHOR 0vercl0k)
set(PROJECT_LICENSE MIT)
Expand Down
2 changes: 1 addition & 1 deletion src/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "kdmp-parser"
version = "0.7.0"
version = "0.7.1"
description = "A Cross-Platform C++ parser library for Windows kernel minidumps."
readme = "README.md"
requires-python = ">=3.8"
Expand Down

0 comments on commit 1d18e53

Please sign in to comment.