fix: rename Toul -> to_ul in PatternReplacer

This commit is contained in:
Tomasz Sowa 2022-11-16 16:14:16 +01:00
parent b3137a7607
commit 3b3c04b85d
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2018-2021, Tomasz Sowa
* Copyright (c) 2018-2022, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -132,7 +132,7 @@ private:
const CharType * index_start_str = &pattern[i+1];
const CharType * after_str;
bool was_overflow;
unsigned long index = Toul(index_start_str, 10, &after_str, &was_overflow, false);
unsigned long index = to_ul(index_start_str, 10, &after_str, &was_overflow, false);
if( !was_overflow && after_str > index_start_str && (size_t)index < params.size() )
{