Skip to content

Commit

Permalink
Merge pull request #12570 from wjwithagen/patch-9
Browse files Browse the repository at this point in the history
common/str_list.h: fix clang warning about std::move

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
liewegas committed Dec 20, 2016
2 parents f674fa2 + d9acbf5 commit 73fa838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/str_list.h
Expand Up @@ -96,7 +96,7 @@ static inline std::vector<std::string> get_str_vec(const std::string& str)
std::vector<std::string> str_vec;
const char *delims = ";,= \t";
get_str_vec(str, delims, str_vec);
return std::move(str_vec);
return str_vec;
}

#endif

0 comments on commit 73fa838

Please sign in to comment.