Skip to content

Commit f3b9cd8

Browse files
committed
add nocov tags
1 parent 6895dcd commit f3b9cd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/include/Rcpp/exceptions_impl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Rcpp {
2626
#include <execinfo.h>
2727

2828
// Extract mangled name e.g. ./test(baz+0x14)[0x400962]
29-
static std::string demangler_one(const char* input) {
29+
static std::string demangler_one(const char* input) { // #nocov start
3030
static std::string buffer;
3131
buffer = input;
3232
size_t last_open = buffer.find_last_of('(');
@@ -84,6 +84,6 @@ namespace Rcpp {
8484
_["line" ] = -1,
8585
_["stack"] = res);
8686
trace.attr("class") = "Rcpp_stack_trace";
87-
rcpp_set_stack_trace(trace);
87+
rcpp_set_stack_trace(trace); // #nocov end
8888
}
8989
};

0 commit comments

Comments
 (0)