Skip to content

Commit

Permalink
Fixed another copy-paste
Browse files Browse the repository at this point in the history
  • Loading branch information
crowbar27 committed Mar 11, 2023
1 parent e2ff675 commit 559822b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion power_overwhelming/src/collector_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "power_overwhelming/adl_sensor.h"
#include "power_overwhelming/emi_sensor.h"
#include "power_overwhelming/collector.h"
#include "power_overwhelming/convert_string.h"
#include "power_overwhelming/nvml_sensor.h"
#include "power_overwhelming/hmc8015_sensor.h"
#include "power_overwhelming/tinkerforge_sensor.h"
Expand Down Expand Up @@ -59,7 +60,7 @@ void visus::power_overwhelming::detail::collector_impl::apply(
#if defined(_WIN32)
this->stream = std::wofstream(output_path, std::ofstream::trunc);
#else /* defined(_WIN32) */
auto p = convert_string<char>(output_path);
auto p = power_overwhelming::convert_string<char>(output_path);
this->stream = std::wofstream(p, std::ofstream::trunc);
#endif /* defined(_WIN32) */

Expand Down

0 comments on commit 559822b

Please sign in to comment.