From 0af37a1a5746a652eb78cc974dc6ce2953d3645a Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Mon, 12 Jan 2026 15:08:34 +0800 Subject: [PATCH 1/3] add virtual destructor in ProgressPrinter class --- inst/include/RcppThread/Progress.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inst/include/RcppThread/Progress.hpp b/inst/include/RcppThread/Progress.hpp index c8c9f1b..bfc663e 100644 --- a/inst/include/RcppThread/Progress.hpp +++ b/inst/include/RcppThread/Progress.hpp @@ -30,6 +30,9 @@ class ProgressPrinter { , startTime_(std::chrono::steady_clock::now()) {} + // Add virtual destructor + virtual ~ProgressPrinter() = default; + //! prints progress whenever an update is necessary. virtual void printProgress() = 0; From 57cf75ec5b6b6babcaa55ff4ec548187ff6792b8 Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Mon, 12 Jan 2026 15:09:26 +0800 Subject: [PATCH 2/3] Increment version number to 2.2.0.9000 --- DESCRIPTION | 2 +- NEWS.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 99b0be9..49ed0f0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: RcppThread Title: R-Friendly Threading in C++ -Version: 2.2.0 +Version: 2.2.0.9000 Authors@R: c( person("Thomas", "Nagler",, "mail@tnagler.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1855-0046")) diff --git a/NEWS.md b/NEWS.md index ed26128..db23a2a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,5 @@ +# RcppThread (development version) + # RcppThread 2.2.0 NEW FEATURE From bc8dd265020e2dad86554568092a7d4312121f81 Mon Sep 17 00:00:00 2001 From: SpatLyu Date: Mon, 12 Jan 2026 15:10:05 +0800 Subject: [PATCH 3/3] upgrade roxygen version to `7.3.3` --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 49ed0f0..d82ef0a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -12,7 +12,7 @@ License: MIT + file LICENSE Encoding: UTF-8 URL: https://github.com/tnagler/RcppThread BugReports: https://github.com/tnagler/RcppThread/issues -RoxygenNote: 7.3.2.9000 +RoxygenNote: 7.3.3 Suggests: testthat, R.rsp,