Skip to content

Commit

Permalink
Return *this in move-assign operator
Browse files Browse the repository at this point in the history
  • Loading branch information
nicebyte authored and nicebyte committed Oct 1, 2018
1 parent 0e81b8b commit 6503446
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libshaderc/include/shaderc/shaderc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class CompilationResult {
}
compilation_result_ = other.compilation_result_;
other.compilation_result_ = nullptr;
return *this;
}

// Returns any error message found during compilation.
Expand Down

0 comments on commit 6503446

Please sign in to comment.