diff options
author | Karsten Wiese <fzuuzf@googlemail.com> | 2005-12-14 18:54:03 +0000 |
---|---|---|
committer | Karsten Wiese <fzuuzf@googlemail.com> | 2005-12-14 18:54:03 +0000 |
commit | cf37405a71ef9d4f0d0d4e9303a51bfc55d7cd89 (patch) | |
tree | 8156e6c3b5b2fa374561371930ec13b256443fee /gtk2_ardour/time_axis_view_item.h | |
parent | 5d1f3c2d3001dbd50079e25e8114bfd60ee3bc59 (diff) |
Use ARDOUR::stringcr_t (read: const std::string &) instead of std::string to avoid unnecessary constructor calls.
I'll commit a bunch of those soon, if this 1st example is accepted.
git-svn-id: svn://localhost/trunk/ardour2@193 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.h')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h index cf74736479..ca3a980a55 100644 --- a/gtk2_ardour/time_axis_view_item.h +++ b/gtk2_ardour/time_axis_view_item.h @@ -340,7 +340,7 @@ class TimeAxisViewItem : public sigc::trackable, public Selectable * @param start the start point of this item * @param duration the duration of this item */ - TimeAxisViewItem(std::string it_name, ArdourCanvas::Group& parent, TimeAxisView& tv, double spu, Gdk::Color& base_color, + TimeAxisViewItem(ARDOUR::stringcr_t it_name, ArdourCanvas::Group& parent, TimeAxisView& tv, double spu, Gdk::Color& base_color, jack_nframes_t start, jack_nframes_t duration, Visibility v = Visibility (0)); /** |