From a884450c2d2edb10ad368a95089e95e8479b842a Mon Sep 17 00:00:00 2001 From: "Timur A. Fatkhullin" Date: Wed, 1 Jul 2026 11:11:06 +0300 Subject: [PATCH] ... --- CMakeLists.txt | 4 ++-- examples/str_exam.cpp | 4 ++-- include/snipplib/utils/snplib_string.h | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5aff4ae..0b821a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.10.0) project(snipplib VERSION 0.1.0 LANGUAGES CXX) -option(BUILD_EXAMPLES "Build examples" ON) +option(SNPLIB_BUILD_EXAMPLES "Build examples" ON) set(LIB_HEADERS include/snipplib/concepts/snplib_concepts.h @@ -25,7 +25,7 @@ target_include_directories( "$" ) -if(BUILD_EXAMPLES) +if(SNPLIB_BUILD_EXAMPLES) set(EXAM_STRING str_exam) add_executable(${EXAM_STRING} examples/str_exam.cpp) target_link_libraries(${EXAM_STRING} ${PROJECT_NAME}) diff --git a/examples/str_exam.cpp b/examples/str_exam.cpp index e2cd53f..1bfbce6 100644 --- a/examples/str_exam.cpp +++ b/examples/str_exam.cpp @@ -89,8 +89,8 @@ int main() std::println("\n\n"); std::println("RAND STR: {}", rstr_gen.generate()); std::println("RAND STR: {}", rstr_gen.generate()); - std::println("UUID v4: {}", rstr_gen.UUIDv4String()); - std::println("UUID v4: {}", rstr_gen.UUIDv4String()); + std::println("UUID v.4: {}", rstr_gen.UUIDv4String()); + std::println("UUID v.4: {}", rstr_gen.UUIDv4String()); return 0; } \ No newline at end of file diff --git a/include/snipplib/utils/snplib_string.h b/include/snipplib/utils/snplib_string.h index e3afae9..3f3a0a2 100644 --- a/include/snipplib/utils/snplib_string.h +++ b/include/snipplib/utils/snplib_string.h @@ -1,7 +1,6 @@ #pragma once #include -#include #include #include