summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/ADT/StringExtras.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/ADT/StringExtras.h b/llvm/include/llvm/ADT/StringExtras.h
index 0425e5ec136..cc32bf43f29 100644
--- a/llvm/include/llvm/ADT/StringExtras.h
+++ b/llvm/include/llvm/ADT/StringExtras.h
@@ -146,15 +146,15 @@ inline bool to_float(const Twine &T, N &Num, N (*StrTo)(const char *, char **))
}
inline bool to_float(const Twine &T, float &Num) {
- return detail::to_float(T, Num, std::strtof);
+ return detail::to_float(T, Num, strtof);
}
inline bool to_float(const Twine &T, double &Num) {
- return detail::to_float(T, Num, std::strtod);
+ return detail::to_float(T, Num, strtod);
}
inline bool to_float(const Twine &T, long double &Num) {
- return detail::to_float(T, Num, std::strtold);
+ return detail::to_float(T, Num, strtold);
}
static inline std::string utostr(uint64_t X, bool isNeg = false) {
OpenPOWER on IntegriCloud