Loading tools/aapt2/Util.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -90,7 +90,7 @@ inline ::std::function<::std::ostream&(::std::ostream&)> formatSize(size_t size) return [size](::std::ostream& out) -> ::std::ostream& { return [size](::std::ostream& out) -> ::std::ostream& { constexpr size_t K = 1024; constexpr size_t K = 1024; constexpr size_t M = K * K; constexpr size_t M = K * K; constexpr size_t G = M * M; constexpr size_t G = M * K; if (size < K) { if (size < K) { out << size << "B"; out << size << "B"; } else if (size < M) { } else if (size < M) { Loading Loading
tools/aapt2/Util.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -90,7 +90,7 @@ inline ::std::function<::std::ostream&(::std::ostream&)> formatSize(size_t size) return [size](::std::ostream& out) -> ::std::ostream& { return [size](::std::ostream& out) -> ::std::ostream& { constexpr size_t K = 1024; constexpr size_t K = 1024; constexpr size_t M = K * K; constexpr size_t M = K * K; constexpr size_t G = M * M; constexpr size_t G = M * K; if (size < K) { if (size < K) { out << size << "B"; out << size << "B"; } else if (size < M) { } else if (size < M) { Loading