mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: better constructor
This commit is contained in:
parent
ee496f2846
commit
466265eaa6
@ -509,7 +509,7 @@ struct Format {
|
|||||||
Timespec start;
|
Timespec start;
|
||||||
Substitute subst;
|
Substitute subst;
|
||||||
|
|
||||||
std::string format( TimedBuffer::Line l ) {
|
std::string format( const TimedBuffer::Line &l ) {
|
||||||
std::stringstream result;
|
std::stringstream result;
|
||||||
if ( l.first >= start ) {
|
if ( l.first >= start ) {
|
||||||
Timespec rel = l.first - start;
|
Timespec rel = l.first - start;
|
||||||
|
Loading…
Reference in New Issue
Block a user