git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b0bd0ec
)
Merge pull request #177 from fsb4000/patch-1
author
CryptoManiac
<CryptoManiac@users.noreply.github.com>
Tue, 3 Mar 2015 22:02:36 +0000 (
01:02
+0300)
committer
CryptoManiac
<CryptoManiac@users.noreply.github.com>
Tue, 3 Mar 2015 22:02:36 +0000 (
01:02
+0300)
возвращение совместимости со старым boost
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"