From 1e7114123af9f1bba27042afc3ef2938474c7cc0 Mon Sep 17 00:00:00 2001 From: amete Date: Wed, 2 Aug 2023 01:31:03 +0200 Subject: [PATCH] Let's do this again... --- package/tests/test_fields.cpp | 4 ++-- package/tests/test_values.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/tests/test_fields.cpp b/package/tests/test_fields.cpp index 69ae30e..73fd863 100644 --- a/package/tests/test_fields.cpp +++ b/package/tests/test_fields.cpp @@ -29,9 +29,9 @@ const std::string base_path = TO_STRING(PRMON_SOURCE_DIR); const std::string prmon_path = base_path + "/package/prmon"; -static const std::shared_ptr c_sink{ +std::shared_ptr c_sink{ std::make_shared()}; -static const std::shared_ptr f_sink{ +std::shared_ptr f_sink{ std::make_shared("prmon.log", true)}; bool prmon::sigusr1 = false; diff --git a/package/tests/test_values.cpp b/package/tests/test_values.cpp index 82099b4..7a3b858 100644 --- a/package/tests/test_values.cpp +++ b/package/tests/test_values.cpp @@ -21,9 +21,9 @@ const std::vector mother_pid{1729}; const std::string base_path = TO_STRING(TESTS_SOURCE_DIR); -static const std::shared_ptr c_sink{ +std::shared_ptr c_sink{ std::make_shared()}; -static const std::shared_ptr f_sink{ +std::shared_ptr f_sink{ std::make_shared("prmon.log", true)}; bool prmon::sigusr1 = false;