vchigrin / stakhanov

Distributed caching build system
GNU General Public License v2.0
7 stars 1 forks source link

Simplify StringCharLen function. #4

Closed dreamer-dead closed 7 years ago

dreamer-dead commented 7 years ago

It seems that we can use STL code to measure length of a string. PTAL.

vchigrin commented 7 years ago

It used only in 2 places in sthook/intercepted_functions.cc, what do you think about removing this function at all and using std::char_traits directly there?

dreamer-dead commented 7 years ago

Done. I removed that function completely.