Skip to content

Commit

Permalink
remove extra variant conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Oct 11, 2018
1 parent 53413a1 commit 2af3363
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -215,7 +215,7 @@ struct adaptor_struct {
auto& memo = o["memo"];
if (memo.is_string())
{
o["memo_"] = variant(o["memo"]);
o["memo_"] = o["memo"];
o.erase("memo");
}
else if (memo.is_object())
Expand Down

0 comments on commit 2af3363

Please sign in to comment.