From 04a5c01704bbf126ef623d57af61359cdf3d659c Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Wed, 12 Mar 2025 18:34:04 -0400 Subject: [PATCH] const --- CMakeLists.txt | 2 +- include/blt/parse/argparse_v2.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a74ff5..618e338 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.20) include(cmake/color.cmake) -set(BLT_VERSION 5.2.20) +set(BLT_VERSION 5.2.21) set(BLT_TARGET BLT) diff --git a/include/blt/parse/argparse_v2.h b/include/blt/parse/argparse_v2.h index 0105bf5..f44bf4e 100644 --- a/include/blt/parse/argparse_v2.h +++ b/include/blt/parse/argparse_v2.h @@ -394,7 +394,7 @@ namespace blt::argparse return std::get(m_data.at(key)); } - bool contains(const std::string_view key) const + [[nodiscard]] bool contains(const std::string_view key) const { return m_data.find(key) != m_data.end(); }