Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence redundant-move warning #15

Merged
merged 1 commit into from
Jun 13, 2019
Merged

Silence redundant-move warning #15

merged 1 commit into from
Jun 13, 2019

Conversation

xerus
Copy link
Contributor

@xerus xerus commented Jun 13, 2019

Happens with gcc-9.1

/home/pgrunt/src/ade/sources/ade/source/execution_engine.cpp: In member function ‘std::unique_ptr<ade::Executable> ade::ExecutionEngine::createExecutable(const ade::Graph&)’:
/home/pgrunt/src/ade/sources/ade/source/execution_engine.cpp:141:21: error: redundant move in return statement [-Werror=redundant-move]
  141 |     return std::move(ret);
      |            ~~~~~~~~~^~~~~

Happens with gcc-9.1
@dmatveev dmatveev requested a review from Hardcode84 June 13, 2019 14:11
@dmatveev
Copy link
Collaborator

Pavel, thanks!

@Hardcode84 Ivan please have a look :)

Copy link
Collaborator

@Hardcode84 Hardcode84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants