Skip to content

Commit 732db7c

Browse files
trim unused code. closes #155
1 parent 55e7c87 commit 732db7c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

inst/include/Rcpp/Benchmark/Timer.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,6 @@ namespace Rcpp{
100100

101101
#endif
102102

103-
namespace{
104-
std::string get_first(const std::pair<std::string,nanotime_t>& pair) {
105-
return pair.first;
106-
}
107-
double get_second(const std::pair<std::string,nanotime_t>& pair){
108-
return static_cast<double>(pair.second);
109-
}
110-
}
111-
112103
class Timer {
113104
public:
114105
Timer() : data(), start_time( get_nanotime() ){}

0 commit comments

Comments
 (0)