Use size_t for String size types
This commit is contained in:
parent
cff3818e68
commit
b3b29f4b4c
5 changed files with 15 additions and 8 deletions
|
@ -7,6 +7,8 @@
|
|||
#ifndef CATCH_STRINGREF_H_INCLUDED
|
||||
#define CATCH_STRINGREF_H_INCLUDED
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace Catch {
|
||||
|
||||
class String;
|
||||
|
@ -24,7 +26,7 @@ namespace Catch {
|
|||
friend class StringData;
|
||||
friend class StringBuilder;
|
||||
|
||||
using size_type = unsigned long;
|
||||
using size_type = size_t;
|
||||
|
||||
char const* m_start;
|
||||
size_type m_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue