From 499fc04c9a417cb91ddc97a2110ac59882fd4909 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 29 Jun 2016 12:51:55 -0400 Subject: [PATCH] Use const &. --- src/RowPainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 5b3e6472ed..a50d8f8120 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -387,7 +387,7 @@ void RowPainter::paintFirst() const void RowPainter::paintLabel() const { - docstring const str = par_.labelString(); + docstring const & str = par_.labelString(); if (str.empty()) return; -- 2.39.5