git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b0bd0ec
)
возвращение совместимости со старым boost
177/head
author
fsb4000
<fsb4000@yandex.ru>
Mon, 2 Mar 2015 13:35:08 +0000 (19:35 +0600)
committer
fsb4000
<fsb4000@yandex.ru>
Mon, 2 Mar 2015 13:35:08 +0000 (19:35 +0600)
src/util.cpp
patch
|
blob
|
history
diff --git
a/src/util.cpp
b/src/util.cpp
index
f69c600
..
481da94
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-1157,7
+1157,11
@@
void createConf()
srand(time(NULL));
ofstream pConf;
+#if BOOST_FILESYSTEM_VERSION >= 3
pConf.open(GetConfigFile().generic_string().c_str());
+#else
+ pConf.open(GetConfigFile().string().c_str());
+#endif
pConf << "rpcuser=user\nrpcpassword="
+ randomStrGen(15)
+ "\nrpcport=8344"