Browse Source

shader_ir: Move comment node string

Co-Authored-By: ReinUsesLisp <reinuseslisp@airmail.cc>
nce_cpp
Mat M 7 years ago
committed by ReinUsesLisp
parent
commit
15a03ee53f
  1. 2
      src/video_core/shader/shader_ir.h

2
src/video_core/shader/shader_ir.h

@ -492,7 +492,7 @@ private:
/// Commentary, can be dropped /// Commentary, can be dropped
class CommentNode final { class CommentNode final {
public: public:
explicit CommentNode(const std::string& text) : text{text} {}
explicit CommentNode(std::string text) : text{std::move(text)} {}
const std::string& GetText() const { const std::string& GetText() const {
return text; return text;

Loading…
Cancel
Save