aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/aesxx/utils/helpers/cmd_parser_block.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'aesxx/utils/helpers/cmd_parser_block.hpp')
-rw-r--r--aesxx/utils/helpers/cmd_parser_block.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/aesxx/utils/helpers/cmd_parser_block.hpp b/aesxx/utils/helpers/cmd_parser_block.hpp
index e8ba1b6..f454331 100644
--- a/aesxx/utils/helpers/cmd_parser_block.hpp
+++ b/aesxx/utils/helpers/cmd_parser_block.hpp
@@ -116,7 +116,7 @@ private:
"an initialization vector is required for the selected mode of operation"
};
}
- iv = aes::Block{std::move(src.front())};
+ iv = aes::Block::parse(src.front());
src.pop_front();
}
@@ -131,7 +131,7 @@ private:
src.pop_front();
if (block == "--")
break;
- blocks.emplace_back(aes::Block{std::move(block)});
+ blocks.emplace_back(aes::Block::parse(block));
}
return blocks;