summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Gaio <miguel.gaio@renault.com>2018-06-21 12:35:07 +0200
committerEric Laurent <elaurent@google.com>2019-04-26 10:59:31 -0700
commitaed3fb17c1ab7c9d3257f8659f163f43558bc0d8 (patch)
tree5779790a7770d7d6d2e0c7a6a958e0bbf0e2b230
parent9b1abf97022a8ccc7af5305242233a283b7c288c (diff)
downloadparameter-framework-aed3fb17c1ab7c9d3257f8659f163f43558bc0d8.tar.gz
parameter framework failed to build using clang6
Warning flag -Winstantiation-after-specialization is now enabled. Fix code accordingly. Bug: 130284799 Test: make Change-Id: I983eec5b538bc02ee19b4202631e171a7bbeecf6 Signed-off-by: Miguel Gaio <miguel.gaio@renault.com>
-rw-r--r--upstream/xmlserializer/XmlElement.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/upstream/xmlserializer/XmlElement.cpp b/upstream/xmlserializer/XmlElement.cpp
index 9c3950d..e00d08e 100644
--- a/upstream/xmlserializer/XmlElement.cpp
+++ b/upstream/xmlserializer/XmlElement.cpp
@@ -262,7 +262,6 @@ bool CXmlElement::CChildIterator::next(CXmlElement &xmlChildElement)
return false;
}
-template bool CXmlElement::getAttribute(const std::string &name, std::string &value) const;
template bool CXmlElement::getAttribute(const std::string &name, bool &value) const;
template bool CXmlElement::getAttribute(const std::string &name, signed char &value) const;
template bool CXmlElement::getAttribute(const std::string &name, unsigned char &value) const;
@@ -277,8 +276,6 @@ template bool CXmlElement::getAttribute(const std::string &name, unsigned long l
template bool CXmlElement::getAttribute(const std::string &name, float &value) const;
template bool CXmlElement::getAttribute(const std::string &name, double &value) const;
-template void CXmlElement::setAttribute(const std::string &name, const std::string &value);
-template void CXmlElement::setAttribute(const std::string &name, const bool &value);
template void CXmlElement::setAttribute(const std::string &name, const signed char &value);
template void CXmlElement::setAttribute(const std::string &name, const unsigned char &value);
template void CXmlElement::setAttribute(const std::string &name, const short &value);