update to the new pikotools api: change converting functions to the snake case

This commit is contained in:
Tomasz Sowa 2022-11-14 03:22:48 +01:00
parent c2013ff47f
commit 1d0956abab
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
*/ */
/* /*
* Copyright (c) 2012-2021, Tomasz Sowa * Copyright (c) 2012-2022, 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
@ -212,7 +212,7 @@ void User::id_is(EzcEnv & env)
{ {
if( !env.par.empty() ) if( !env.par.empty() )
{ {
long par_user_id = pt::Tol(env.par.c_str()); long par_user_id = pt::to_l(env.par);
env.res = id == par_user_id; env.res = id == par_user_id;
} }
} }