Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 814299c5 authored by Inseob Kim's avatar Inseob Kim Committed by android-build-merger
Browse files

Merge "Fix misleading comments"

am: 384a6820

Change-Id: Id18dcbdc62738fcbd35a8f493d4fa662c7b2b16b
parents 26128c09 384a6820
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -26,9 +26,9 @@
namespace android {
namespace base {

// Parses the unsigned decimal integer in the string 's' and sets 'out' to
// that value. Optionally allows the caller to define a 'max' beyond which
// otherwise valid values will be rejected. Returns boolean success; 'out'
// Parses the unsigned decimal or hexadecimal integer in the string 's' and sets
// 'out' to that value. Optionally allows the caller to define a 'max' beyond
// which otherwise valid values will be rejected. Returns boolean success; 'out'
// is untouched if parsing fails.
template <typename T>
bool ParseUint(const char* s, T* out, T max = std::numeric_limits<T>::max(),
@@ -71,8 +71,8 @@ bool ParseByteCount(const std::string& s, T* out, T max = std::numeric_limits<T>
  return ParseByteCount(s.c_str(), out, max);
}

// Parses the signed decimal integer in the string 's' and sets 'out' to
// that value. Optionally allows the caller to define a 'min' and 'max
// Parses the signed decimal or hexadecimal integer in the string 's' and sets
// 'out' to that value. Optionally allows the caller to define a 'min' and 'max'
// beyond which otherwise valid values will be rejected. Returns boolean
// success; 'out' is untouched if parsing fails.
template <typename T>