Remove brace-enclosed initializer
authoralex <alex@alex-VirtualBox.(none)>
Sat, 24 Aug 2013 13:56:13 +0000 (17:56 +0400)
committeralex <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

index 7f3f3c8..241eb73 100644 (file)
@@ -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;
     }
 
     //