diff --git a/fortuna.cpp b/fortuna.cpp index 4f83242..d2ef561 100644 --- a/fortuna.cpp +++ b/fortuna.cpp @@ -33,7 +33,7 @@ namespace fortuna { std::string n{R.Gen.generate_random_data(n_bytes)}; fmt::print("got you {} proper bytes from generate_random_data -> {}\n", n_bytes, n); - n.erase(); + n.clear(); const auto end{std::chrono::system_clock::now()}; std::chrono::duration diff = end-start;