diff options
author | David Wagner <david.wagner@intel.com> | 2015-03-19 16:35:47 +0100 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-04-24 13:39:11 -0700 |
commit | 99b3e852e553103ff75ed38117baa5bce2befbdb (patch) | |
tree | 26ee3110bc4b147ed96821540c28ae8286f564b9 /parameter | |
parent | b2742cf39a7ca6c8a1e25698e2065258da1d1a2f (diff) | |
download | external_parameter-framework-99b3e852e553103ff75ed38117baa5bce2befbdb.zip external_parameter-framework-99b3e852e553103ff75ed38117baa5bce2befbdb.tar.gz external_parameter-framework-99b3e852e553103ff75ed38117baa5bce2befbdb.tar.bz2 |
Re-implement the Tokenizer class from scratch
It didn't have a license header. Even though we received explicit authorization
to use it, it wasn't a comfortable situation.
This is an original implementation that only keeps the APIs we use in the
parameter-framework and keep them identical (except for a small exception). The
behaviour is also exactly the same.
Change-Id: I85a69c76027ee026a693d79cd19edd3b86796f9d
Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'parameter')
-rw-r--r-- | parameter/ArrayParameter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parameter/ArrayParameter.cpp b/parameter/ArrayParameter.cpp index c946392..ec69191 100644 --- a/parameter/ArrayParameter.cpp +++ b/parameter/ArrayParameter.cpp @@ -257,7 +257,7 @@ bool CArrayParameter::getIndex(CPathNavigator& pathNavigator, uint32_t& uiIndex, bool CArrayParameter::setValues(uint32_t uiStartIndex, uint32_t uiBaseOffset, const string& strValue, CParameterAccessContext& parameterAccessContext) const { // Deal with value(s) - Tokenizer tok(strValue, DEFAULT_DELIMITER + ","); + Tokenizer tok(strValue, Tokenizer::defaultDelimiters + ","); std::vector<string> astrValues = tok.split(); uint32_t uiNbValues = astrValues.size(); |