Skip to content

Commit

Permalink
Make lazy source as const reference
Browse files Browse the repository at this point in the history
Signed-off-by: Fyodor Muratov <[email protected]>
  • Loading branch information
muratovv authored and lebdron committed Dec 19, 2017
1 parent 75ba9cb commit 9a230f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared_model/utils/lazy_initializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace shared_model {
}

private:
Source source_;
const Source &source_;
TransformType transform_;
std::shared_ptr<Target> target_value_;
};
Expand Down

0 comments on commit 9a230f0

Please sign in to comment.