summaryrefslogtreecommitdiffstats
path: root/src/Widget.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Widget.hpp')
-rw-r--r--src/Widget.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Widget.hpp b/src/Widget.hpp
index 03c5f8e..f1db218 100644
--- a/src/Widget.hpp
+++ b/src/Widget.hpp
@@ -1,5 +1,5 @@
/* This file is part of Patchage
- * Copyright 2007-2014 David Robillard <http://drobilla.net>
+ * Copyright 2007-2020 David Robillard <d@drobilla.net>
*
* Patchage is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
@@ -25,7 +25,7 @@ template<typename W>
class Widget
{
public:
- Widget(Glib::RefPtr<Gtk::Builder> xml, const std::string& name)
+ Widget(const Glib::RefPtr<Gtk::Builder>& xml, const std::string& name)
{
xml->get_widget(name, _me);
}