Skip to content

Commit a34fecd

Browse files
author
martin
committed
Fix linting issues.
1 parent 3c727fb commit a34fecd

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

src/util/memory_units.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*******************************************************************\
2+
3+
Module: Memory units
4+
5+
Author: Hannes Steffenhagen
6+
7+
\*******************************************************************/
8+
19
#include "memory_units.h"
210

311
#include <sstream>

src/util/memory_units.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*******************************************************************\
2+
3+
Module: Memory units
4+
5+
Author: Hannes Steffenhagen
6+
7+
\*******************************************************************/
8+
19
#ifndef CPROVER_UTIL_MEMORY_UNITS_H
210
#define CPROVER_UTIL_MEMORY_UNITS_H
311

@@ -31,7 +39,7 @@ struct memory_sizet
3139

3240
private:
3341
std::size_t bytes;
34-
memory_sizet(std::size_t bytes);
42+
explicit memory_sizet(std::size_t bytes);
3543
};
3644

3745
#endif // CPROVER_UTIL_MEMORY_UNITS_H

0 commit comments

Comments
 (0)