diff options
author | Steven Moreland <smoreland@google.com> | 2018-04-25 11:52:56 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2018-04-25 11:52:56 -0700 |
commit | 87e957d364da2329451ea2f0ee8711371fe733cd (patch) | |
tree | 068710727c7457e5290b4aee5a7f6a8b4db82511 /EnumType.cpp | |
parent | 4ab7a849604401016b0825cf7864dac3a2486516 (diff) | |
download | hidl-87e957d364da2329451ea2f0ee8711371fe733cd.tar.gz |
Replace hidl_enum_{iterator -> range}.
This class is technically an iterable object, not a range.
Bug: 78573628
Test: N/A
Change-Id: I9e31531d16ca132a8275a8204801b439ff31c02b
Diffstat (limited to 'EnumType.cpp')
-rw-r--r-- | EnumType.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EnumType.cpp b/EnumType.cpp index 745604f3..f3528e4d 100644 --- a/EnumType.cpp +++ b/EnumType.cpp @@ -288,7 +288,7 @@ void EnumType::emitIteratorDeclaration(Formatter& out) const { elementCount += type->mValues.size(); } - out << "template<> struct hidl_enum_iterator<" << getCppStackType() << ">\n"; + out << "template<> struct hidl_enum_range<" << getCppStackType() << ">\n"; out.block([&] { out << "const " << getCppStackType() << "* begin() { return static_begin(); }\n"; out << "const " << getCppStackType() << "* end() { return begin() + " << elementCount |