Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Removes an unnecesary std::move surounding the return value of IStrea…
Browse files Browse the repository at this point in the history
…mBuilder.
  • Loading branch information
dbikel committed May 11, 2015
1 parent 9373427 commit 449cff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infact/interpreter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Interpreter::IsAbsolute(const string &filename) const {

bool
Interpreter::CanReadFile(const string &filename) const {
unique_ptr<istream> file = std::move(istream_builder_->Build(filename));
unique_ptr<istream> file = istream_builder_->Build(filename);
return file->good();
}

Expand Down

0 comments on commit 449cff9

Please sign in to comment.