aboutsummaryrefslogtreecommitdiff
path: root/src/fs.h
diff options
context:
space:
mode:
authorChun Kuan Lee <[email protected]>2018-09-11 02:08:56 +0800
committerChun Kuan Lee <[email protected]>2018-09-11 03:11:39 +0800
commite2213689328f8ba42af1d32d12c7b78a71f1ddc7 (patch)
treeba99e353bfa32fe4e0ee0ed86480acfc9a9e7654 /src/fs.h
parentMerge #14138: wallet: Set encrypted_batch to nullptr after delete. Avoid doub... (diff)
downloaddiscoin-e2213689328f8ba42af1d32d12c7b78a71f1ddc7.tar.xz
discoin-e2213689328f8ba42af1d32d12c7b78a71f1ddc7.zip
utils: Convert fs error messages from multibyte to utf-8
Diffstat (limited to 'src/fs.h')
-rw-r--r--src/fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs.h b/src/fs.h
index 5a28d9a81..5492bdd4e 100644
--- a/src/fs.h
+++ b/src/fs.h
@@ -38,6 +38,8 @@ namespace fsbridge {
void* hFile = (void*)-1; // INVALID_HANDLE_VALUE
#endif
};
+
+ std::string get_filesystem_error_message(const fs::filesystem_error& e);
};
#endif // BITCOIN_FS_H