X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Frpcblockchain.cpp;h=05bcbff732e23e9f6d5309c50cdf7b1347521a05;hp=83ca8fd6d908bac69e15d1d664ad282765a991dc;hb=5e762fd51fa59cad1e0107a60023a61a904e0174;hpb=549d95ad6489df40b2acc8bf65f9b016b6780f08 diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 83ca8fd..05bcbff 100644 --- 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 buf(pathDest.c_str()); + boost::iostreams::stream_buffer buf(pathDest.string()); ostream exportStream(&buf); exportStream << HexStr(ssBlock.begin(), ssBlock.end()); exportStream.flush();