File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ struct event_collector {
130130 LinuxEvents<PERF_TYPE_HARDWARE> linux_events;
131131
132132 event_collector ()
133- : linux_events(std::array<unsigned long long , 4 >{
133+ : linux_events(std::array<unsigned long long , 4 /* event_counter_types_size */ >{
134134 PERF_COUNT_HW_CPU_CYCLES, PERF_COUNT_HW_INSTRUCTIONS,
135135 PERF_COUNT_HW_BRANCH_INSTRUCTIONS, // Retired branch instructions
136136 PERF_COUNT_HW_BRANCH_MISSES}) {}
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ template <typename T> std::string fHexAndDec(T v) {
6969 return ss.str ();
7070}
7171
72- const std::string round_name (int const d) {
72+ const std::string_view round_name (int const d) {
7373 switch (d) {
7474 case FE_UPWARD:
7575 return " FE_UPWARD" ;
@@ -107,9 +107,9 @@ TEST_CASE("system_info") {
107107#endif
108108#ifdef FASTFLOAT_IS_BIG_ENDIAN
109109#if FASTFLOAT_IS_BIG_ENDIAN
110- printf ( " big endian\n " ) ;
110+ std::cout << " big endian" << std::endl ;
111111#else
112- printf ( " little endian\n " ) ;
112+ std::cout << " little endian" << std::endl ;
113113#endif
114114#endif
115115#ifdef FASTFLOAT_32BIT
You can’t perform that action at this time.
0 commit comments