Skip to content

Commit 740a863

Browse files
authored
i2string has been removed
1 parent 5a0cc0d commit 740a863

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/path-symex/path_symex.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Author: Daniel Kroening, [email protected]
88

99
#include <util/arith_tools.h>
1010
#include <util/simplify_expr.h>
11+
#include <util/string2int.h>
1112
#include <util/byte_operators.h>
1213
#include <util/pointer_offset_size.h>
1314
#include <util/expr_util.h>
@@ -368,7 +369,7 @@ void path_symext::symex_va_arg_next(
368369
*/
369370
if(has_prefix(id2string(id), base))
370371
id=base
371-
+i2string(
372+
+std::to_string(
372373
safe_string2unsigned(
373374
std::string(id2string(id), base.size(), std::string::npos))
374375
+1);
@@ -787,7 +788,7 @@ void path_symext::function_call_rec(
787788
exprt rhs=*call_arguments_it;
788789

789790
irep_idt id=id2string(function_identifier)+"::va_arg"
790-
+i2string(va_count);
791+
+std::to_string(va_count);
791792

792793
symbolt symbol;
793794
symbol.name=id;

0 commit comments

Comments
 (0)