Use reference to constant in functions

This commit is contained in:
qarmin 2019-07-10 11:54:12 +02:00
parent 3bfffcc568
commit 01cc7a996b
42 changed files with 82 additions and 82 deletions

View file

@ -1395,7 +1395,7 @@ void VisualShaderEditor::_node_selected(Object *p_node) {
//EditorNode::get_singleton()->push_item(vsnode.ptr(), "", true);
}
void VisualShaderEditor::_graph_gui_input(const Ref<InputEvent> p_event) {
void VisualShaderEditor::_graph_gui_input(const Ref<InputEvent> &p_event) {
Ref<InputEventMouseButton> mb = p_event;