aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-13 02:01:09 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-13 02:01:09 +0800
commit363d41738470ad4754973352b18114641c345c0a (patch)
tree51f4b9454f3cca202fa168bacaf5e689e81acad2
parent20cb72b297caccd95e4cb7349076277caf1d9ab1 (diff)
downloaddexon-solidity-363d41738470ad4754973352b18114641c345c0a.tar
dexon-solidity-363d41738470ad4754973352b18114641c345c0a.tar.gz
dexon-solidity-363d41738470ad4754973352b18114641c345c0a.tar.bz2
dexon-solidity-363d41738470ad4754973352b18114641c345c0a.tar.lz
dexon-solidity-363d41738470ad4754973352b18114641c345c0a.tar.xz
dexon-solidity-363d41738470ad4754973352b18114641c345c0a.tar.zst
dexon-solidity-363d41738470ad4754973352b18114641c345c0a.zip
style
-rw-r--r--createRandomStateTest.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/createRandomStateTest.cpp b/createRandomStateTest.cpp
index f9baa009..13b622bb 100644
--- a/createRandomStateTest.cpp
+++ b/createRandomStateTest.cpp
@@ -58,10 +58,8 @@ int main(int argc, char *argv[])
boost::random::uniform_int_distribution<> lengthOfCodeDist(2, 16);
boost::random::uniform_int_distribution<> opcodeDist(0, 255);
boost::random::uniform_int_distribution<> BlockInfoOpcodeDist(0x40, 0x45);
- boost::random::variate_generator<boost::mt19937&,
- boost::random::uniform_int_distribution<> > randGen(gen, opcodeDist);
- boost::random::variate_generator<boost::mt19937&,
- boost::random::uniform_int_distribution<> > randGenBlockInfoOpcode(gen, BlockInfoOpcodeDist);
+ boost::random::variate_generator<boost::mt19937&, boost::random::uniform_int_distribution<> > randGen(gen, opcodeDist);
+ boost::random::variate_generator<boost::mt19937&, boost::random::uniform_int_distribution<> > randGenBlockInfoOpcode(gen, BlockInfoOpcodeDist);
int lengthOfCode = lengthOfCodeDist(gen);
string randomCode;