diff --git a/DESCRIPTION b/DESCRIPTION index 99b0be9..d82ef0a 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")) @@ -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, 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 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;