mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-12 06:37:28 +00:00
n -> size
This commit is contained in:
parent
5c4b6678e4
commit
5a5870d3ca
2
format.h
2
format.h
@ -170,7 +170,7 @@ class BasicStringRef {
|
||||
/**
|
||||
Constructs a string reference object from a C string and a size.
|
||||
*/
|
||||
BasicStringRef(const Char *s, std::size_t n) : data_(s), size_(n) {}
|
||||
BasicStringRef(const Char *s, std::size_t size) : data_(s), size_(size) {}
|
||||
|
||||
/**
|
||||
Constructs a string reference object from a C string computing
|
||||
|
Loading…
Reference in New Issue
Block a user