git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
afd232b
)
Remove brace-enclosed initializer
author
alex
<alex@alex-VirtualBox.(none)>
Sat, 24 Aug 2013 13:56:13 +0000 (17:56 +0400)
committer
alex
<alex@alex-VirtualBox.(none)>
Sat, 24 Aug 2013 13:56:13 +0000 (17:56 +0400)
Due to pre-C++0x compilers compatibility issue.
src/checkpoints.cpp
patch
|
blob
|
history
diff --git
a/src/checkpoints.cpp
b/src/checkpoints.cpp
index
7f3f3c8
..
241eb73
100644
(file)
--- a/
src/checkpoints.cpp
+++ b/
src/checkpoints.cpp
@@
-23,7
+23,11
@@
namespace Checkpoints
Checkpoint initCheckpoint(uint256 hashCheckPoint, unsigned int nTime)
{
- return {hashCheckPoint, nTime};
+ Checkpoint item;
+ item.hashCheckPoint = hashCheckPoint;
+ item.nTime = nTime;
+
+ return item;
}
//