aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-10 17:40:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-10 17:40:46 +0300
commitae714a0b77b5a5eda977e56c43205fbfb8821ca8 (patch)
tree3bb1ebbd599986b10c4cbaffad3dda99a6f2d442
parent810df40a0625835ad17a0a5bf3232a8d1a68e680 (diff)
Fix not to move temporary object
-rw-r--r--bbot/machine.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bbot/machine.cxx b/bbot/machine.cxx
index bebcc3f..e8f40b3 100644
--- a/bbot/machine.cxx
+++ b/bbot/machine.cxx
@@ -254,7 +254,7 @@ namespace bbot
}
}
- sock = move (ifs.release ());
+ sock = ifs.release ();
};
// Read QEMU welcome.
@@ -266,7 +266,7 @@ namespace bbot
{
ofdstream ofs (move (sock), fdstream_mode::blocking);
ofs << c << endl;
- sock = move (ofs.release ());
+ sock = ofs.release ();
}
// Read QEMU reply (may hit eof).