diff options
author | Yifan Hong | 2018-07-16 17:22:55 -0500 |
---|---|---|
committer | Yifan Hong | 2018-07-16 19:57:20 -0500 |
commit | 832e39078a9458cf49a197beebd93e78accec0bc (patch) | |
tree | 4cbbc4cb9fe412804f0830310de9860ea85ee311 /parse_xml.cpp | |
parent | 91c1b2703bf422786f3d698fb60da5a33fcd83a2 (diff) | |
download | platform-system-libvintf-832e39078a9458cf49a197beebd93e78accec0bc.tar.gz platform-system-libvintf-832e39078a9458cf49a197beebd93e78accec0bc.tar.xz platform-system-libvintf-832e39078a9458cf49a197beebd93e78accec0bc.zip |
Add -Wextra-semi.
The headers fail to compile when included
in libhidl, because libhidl has -Wextra-semi.
I decided to clean them up and add -Wextra-semi
for all files for libvintf.
Test: builds
Change-Id: Ida1ed6d3855e582a5c09bc60128dd8c4cfd4210a
Diffstat (limited to 'parse_xml.cpp')
-rw-r--r-- | parse_xml.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/parse_xml.cpp b/parse_xml.cpp index 8ccf9b1..fbac04e 100644 --- a/parse_xml.cpp +++ b/parse_xml.cpp | |||
@@ -393,8 +393,9 @@ struct XmlTextConverter : public XmlNodeConverter<Object> { | |||
393 | virtual bool buildObject(Object* object, NodeType* root, std::string* error) const override { | 393 | virtual bool buildObject(Object* object, NodeType* root, std::string* error) const override { |
394 | return this->parseText(root, object, error); | 394 | return this->parseText(root, object, error); |
395 | } | 395 | } |
396 | virtual std::string elementName() const { return mElementName; }; | 396 | virtual std::string elementName() const { return mElementName; } |
397 | private: | 397 | |
398 | private: | ||
398 | std::string mElementName; | 399 | std::string mElementName; |
399 | }; | 400 | }; |
400 | 401 | ||