summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-02 08:20:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-02 09:34:17 +0200
commitf2faf7acf4445fef2a149ebbdecb569a2d119d94 (patch)
tree6629ba211a70a54a0ab82f6c4f4de08504072951 /spline
parent66e75860d0c54baa39ed789442b09b96eeebe2e6 (diff)
nothing important
Diffstat (limited to 'spline')
-rw-r--r--spline/axis-opts.cpp2
-rw-r--r--spline/axis-opts.hpp2
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_;