commit | 192091cd7eba8d9fef00e376e13f3158529538f4 | [log] [tgz] |
---|---|---|
author | Yifei Teng <yifeit@google.com> | Sat Apr 06 07:00:22 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Sat Apr 06 07:00:22 2019 +0000 |
tree | 2a954bc9873d60a2439c49fed7243ce490a1e16a | |
parent | 2aae11d604f136a4cd019645d932261813ab4476 [diff] |
[fidl] Migrate fidl::Array to std::array TEST=CQ Change-Id: If3ab163f64bb6fe4aca5a273269516f85081e039
diff --git a/runtime/dart/utils/handle_exception.cc b/runtime/dart/utils/handle_exception.cc index bb81e1e..0d05808 100644 --- a/runtime/dart/utils/handle_exception.cc +++ b/runtime/dart/utils/handle_exception.cc
@@ -39,7 +39,7 @@ } template <typename T, size_t N> -void CopyToArray(const std::string& s, fidl::Array<T, N>* arr) { +void CopyToArray(const std::string& s, std::array<T, N>* arr) { const size_t max_size = arr->size(); auto end = s.end(); if (s.size() > max_size) {