diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-09-06 16:33:38 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-09-06 16:33:38 +0800 |
commit | 1a4fb4458cbf69628a541c3957b53e01ea661cd4 (patch) | |
tree | 01a0bde0c4583d1684fa732d73c2d23488ba38b3 /sample/bls_tool.cpp | |
parent | a70abcd3dd2b80fe4a8ef49bbf151ad76ed01d29 (diff) | |
download | dexon-bls-1a4fb4458cbf69628a541c3957b53e01ea661cd4.tar dexon-bls-1a4fb4458cbf69628a541c3957b53e01ea661cd4.tar.gz dexon-bls-1a4fb4458cbf69628a541c3957b53e01ea661cd4.tar.bz2 dexon-bls-1a4fb4458cbf69628a541c3957b53e01ea661cd4.tar.lz dexon-bls-1a4fb4458cbf69628a541c3957b53e01ea661cd4.tar.xz dexon-bls-1a4fb4458cbf69628a541c3957b53e01ea661cd4.tar.zst dexon-bls-1a4fb4458cbf69628a541c3957b53e01ea661cd4.zip |
remove old code
Diffstat (limited to 'sample/bls_tool.cpp')
-rw-r--r-- | sample/bls_tool.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sample/bls_tool.cpp b/sample/bls_tool.cpp index 158f7b2..dfa3a07 100644 --- a/sample/bls_tool.cpp +++ b/sample/bls_tool.cpp @@ -25,7 +25,6 @@ void strip(std::string& str) void readMessage(std::string& str) { str.clear(); -#if 1 std::string line; std::getline(std::cin, line); // remove first blank line while (std::getline(std::cin, line)) { @@ -34,14 +33,6 @@ void readMessage(std::string& str) } strip(str); if (!str.empty()) return; -#else - // retry once if blank line exists - for (size_t i = 0; i < 2; i++) { - std::getline(std::cin, str); - strip(str); - if (!str.empty()) return; - } -#endif throw std::runtime_error("readMessage:message is empty"); } |