We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d8239 commit 8911f00Copy full SHA for 8911f00
libs/openFrameworks/utils/ofFilesystemPath.h
@@ -67,7 +67,6 @@ class path {
67
// TODO better (ideal) impl this just copy-pasted for proof of concept
68
mutable std::string cached_narrow_str_;
69
const char* to_narrow_cstr() const {
70
- std::mbstate_t state = std::mbstate_t();
71
size_t size_needed = std::wcstombs(nullptr, wstring().c_str(), 0) + 1;
72
if (size_needed == static_cast<size_t>(-1)) {
73
throw std::runtime_error("Conversion error from wstring to string");
0 commit comments