We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 903b142 commit 2127fc6Copy full SHA for 2127fc6
examples/mandelbrot.cpp
@@ -16,7 +16,6 @@
16
#include <iostream>
17
#include <string>
18
#include <vector>
19
-#include <typeinfo> // operator typeid
20
21
#include "pico_bench.hpp"
22
@@ -251,8 +250,8 @@ void run_arch(
251
250
252
const float scalar_min = stats.min().count();
253
254
- std::cout << '\n' << typeid(arch).name() <<" "<< stats << '\n';
255
- auto filename = std::string("mandelbrot_") + std::string(typeid(arch).name()) + std::string(".ppm");
+ std::cout << '\n' << arch::name() <<" "<< stats << '\n';
+ auto filename = std::string("mandelbrot_") + std::string(arch::name()) + std::string(".ppm");
256
writePPM(filename.c_str(), width, height, buffer.data());
257
258
}
0 commit comments