diff options
Diffstat (limited to 'spline')
-rw-r--r-- | spline/axis-opts.cpp | 2 | ||||
-rw-r--r-- | spline/axis-opts.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spline/axis-opts.cpp b/spline/axis-opts.cpp index d7616939..b5f11aaa 100644 --- a/spline/axis-opts.cpp +++ b/spline/axis-opts.cpp @@ -39,7 +39,7 @@ QString const& axis_opts::prefix() const { return prefix_; } Axis axis_opts::axis() const { return axis_; } -QString axis_opts::n(QString pfx, QString name) +QString axis_opts::n(QString const& pfx, QString const& name) { return QString("%1-%2").arg(pfx, name); } diff --git a/spline/axis-opts.hpp b/spline/axis-opts.hpp index 2f0d8432..a76ea3cf 100644 --- a/spline/axis-opts.hpp +++ b/spline/axis-opts.hpp @@ -50,7 +50,7 @@ struct OTR_SPLINE_EXPORT axis_opts final QString const& prefix() const; Axis axis() const; private: - static inline QString n(QString pfx, QString name); + static inline QString n(QString const& pfx, QString const& name); QString prefix_; Axis axis_; |