Skip to content

Commit eb8d3bb

Browse files
committed
silence compiler warnings
1 parent 5312113 commit eb8d3bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

inst/include/RcppParallel/Backend.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ inline const char* backendToString(backend_type backend)
4242
case BACKEND_TINYTHREAD:
4343
return "tinythread";
4444
}
45+
46+
// shouldn't be reached but need to silence compiler warnings
47+
return "tbb";
4548
}
4649

4750
inline backend_type backend()

0 commit comments

Comments
 (0)