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
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "catch_stringref.h"
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
namespace Catch {
|
||||
|
||||
class String;
|
||||
|
@ -22,7 +24,7 @@ namespace Catch {
|
|||
class StringBuilder {
|
||||
friend class String;
|
||||
public:
|
||||
using size_type = unsigned long;
|
||||
using size_type = size_t;
|
||||
|
||||
StringBuilder();
|
||||
StringBuilder( size_type initialCapacity );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue