git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
549d95a
)
Fix compilation error on Win32 platforms.
nvc-v0.5.3
author
CryptoManiac
<balthazar@yandex.ru>
Sat, 5 Sep 2015 10:23:56 +0000 (
03:23
-0700)
committer
CryptoManiac
<balthazar@yandex.ru>
Sat, 5 Sep 2015 10:23:56 +0000 (
03:23
-0700)
src/rpcblockchain.cpp
patch
|
blob
|
history
diff --git
a/src/rpcblockchain.cpp
b/src/rpcblockchain.cpp
index
83ca8fd
..
05bcbff
100644
(file)
--- a/
src/rpcblockchain.cpp
+++ b/
src/rpcblockchain.cpp
@@
-282,7
+282,7
@@
bool ExportBlock(const string& strBlockHash, const CDataStream& ssBlock)
pathDest /= strBlockHash;
try {
- boost::iostreams::stream_buffer<boost::iostreams::file_sink> buf(pathDest.c_str());
+ boost::iostreams::stream_buffer<boost::iostreams::file_sink> buf(pathDest.string());
ostream exportStream(&buf);
exportStream << HexStr(ssBlock.begin(), ssBlock.end());
exportStream.flush();