Assert message fix.
This commit is contained in:
parent
302995354c
commit
58e19d75ad
1 changed files with 1 additions and 1 deletions
|
@ -727,7 +727,7 @@ public:
|
||||||
/// can be used.
|
/// can be used.
|
||||||
void insert(const dchar c, const size_t position) @system pure nothrow @nogc
|
void insert(const dchar c, const size_t position) @system pure nothrow @nogc
|
||||||
{
|
{
|
||||||
assert(inProgress, "insertBack called without begin");
|
assert(inProgress, "insert called without begin");
|
||||||
assert(start_ + position <= end_, "Trying to insert after the end of the slice");
|
assert(start_ + position <= end_, "Trying to insert after the end of the slice");
|
||||||
|
|
||||||
const point = start_ + position;
|
const point = start_ + position;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue