diff options
author | Gav Wood <i@gavwood.com> | 2014-01-13 04:30:15 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-01-13 04:30:15 +0800 |
commit | 4fb83706c8665377320259490d7c2a42e6329a91 (patch) | |
tree | 571a029ca5cf240fc41d4bd6adb910f58c657fb7 /main.cpp | |
parent | b883475b6c5188a0de4600a8365055c2a763806e (diff) | |
download | dexon-solidity-4fb83706c8665377320259490d7c2a42e6329a91.tar.gz dexon-solidity-4fb83706c8665377320259490d7c2a42e6329a91.tar.zst dexon-solidity-4fb83706c8665377320259490d7c2a42e6329a91.zip |
Moved to endian-neutral 256/160-bit datatypes.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ int main() { // Test dagger { - Dagger d(0); + Dagger d((h256)0); auto s = steady_clock::now(); cout << hex << d.eval(0); cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl; @@ -46,7 +46,7 @@ int main() cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl; } { - Dagger d(1); + Dagger d((h256)1); auto s = steady_clock::now(); cout << hex << d.eval(0); cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl; |