PatternReplacerBase: to_string() changed to to_str()

This commit is contained in:
Tomasz Sowa 2021-07-06 21:42:42 +02:00
parent 34f1fc04cf
commit 198945c97b
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
*/ */
/* /*
* Copyright (c) 2018, Tomasz Sowa * Copyright (c) 2018-2021, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -86,7 +86,7 @@ private:
params.clear(); params.clear();
AddParams(types...); AddParams(types...);
ReplacePattern(pattern); ReplacePattern(pattern);
buffer.to_string(output_string); buffer.to_str(output_string);
params.clear(); params.clear();
buffer.clear(); buffer.clear();
@ -104,7 +104,7 @@ private:
{ {
buffer.clear(); buffer.clear();
buffer << type; buffer << type;
buffer.to_string(temp_str); buffer.to_str(temp_str);
params.push_back(temp_str); params.push_back(temp_str);
temp_str.clear(); temp_str.clear();