From 466265eaa62a3cb863a0493d74db8a5de98cd92f Mon Sep 17 00:00:00 2001
From: Zdenek Kabelac <zkabelac@redhat.com>
Date: Fri, 29 Mar 2024 00:07:13 +0100
Subject: [PATCH] tests: better constructor

---
 test/lib/brick-shelltest.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lib/brick-shelltest.h b/test/lib/brick-shelltest.h
index 5d53d1a3d..668421610 100644
--- a/test/lib/brick-shelltest.h
+++ b/test/lib/brick-shelltest.h
@@ -509,7 +509,7 @@ struct Format {
     Timespec start;
     Substitute subst;
 
-    std::string format( TimedBuffer::Line l ) {
+    std::string format( const TimedBuffer::Line &l ) {
         std::stringstream result;
         if ( l.first >= start ) {
             Timespec rel = l.first - start;