From 58af2ebc4636fbdd833ea4b7bedef3ab46a24228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Mon, 2 Oct 2023 08:20:04 +0200 Subject: [PATCH] merge changes from 1.11.8 --- ActiveRecord/Compiler/src/CodeGenerator.cpp | 1 + ActiveRecord/Compiler/src/Compiler.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ActiveRecord/Compiler/src/CodeGenerator.cpp b/ActiveRecord/Compiler/src/CodeGenerator.cpp index 79f0145d9..c318e626d 100644 --- a/ActiveRecord/Compiler/src/CodeGenerator.cpp +++ b/ActiveRecord/Compiler/src/CodeGenerator.cpp @@ -48,6 +48,7 @@ void CodeGenerator::writeEndNameSpace(const std::string& nameSpace) const auto ns = splitNameSpace(nameSpace); for (const auto& s: ns) { + (void) s; // avoid unused variable warning _stream << "} "; } _stream << "// namespace " << nameSpace << "\n"; diff --git a/ActiveRecord/Compiler/src/Compiler.cpp b/ActiveRecord/Compiler/src/Compiler.cpp index f5bd06faa..6fca2d9bc 100644 --- a/ActiveRecord/Compiler/src/Compiler.cpp +++ b/ActiveRecord/Compiler/src/Compiler.cpp @@ -78,7 +78,7 @@ protected: helpFormatter.setHeader( "\n" "The POCO C++ Libraries ActiveRecord ORM Compiler.\n" - "Copyright (c) 2020-2022 by Applied Informatics Software Engineering GmbH.\n" + "Copyright (c) 2020-2023 by Applied Informatics Software Engineering GmbH.\n" "All rights reserved.\n\n" "This program generates C++ source code from an ActiveRecord " "XML definition. "