diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
commit | 22b07e0233a29d9633ffa825a79503befaf2e16e (patch) | |
tree | 1d8b06056f8e12197158f5d906319767d3dedda5 /libs/pbd/enumwriter.cc | |
parent | e11ba7b79d68bc1070b170236c22123966d7bcc3 (diff) |
NOOP, remove trailing tabs/whitespace.
Diffstat (limited to 'libs/pbd/enumwriter.cc')
-rw-r--r-- | libs/pbd/enumwriter.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/pbd/enumwriter.cc b/libs/pbd/enumwriter.cc index 50507972c2..ddc8215194 100644 --- a/libs/pbd/enumwriter.cc +++ b/libs/pbd/enumwriter.cc @@ -41,7 +41,7 @@ nocase_cmp(const string & s1, const string& s2) { string::const_iterator it1 = s1.begin(); string::const_iterator it2 = s2.begin(); - + while ((it1 != s1.end()) && (it2 != s2.end())) { if(::toupper(*it1) != ::toupper(*it2)) {//letters differ? // return -1 to indicate 'smaller than', 1 otherwise @@ -97,7 +97,7 @@ EnumWriter::register_distinct (string type, vector<int> v, vector<string> s) newpair.first = type; newpair.second = EnumRegistration (v, s, false); - + result = registry.insert (newpair); if (!result.second) { @@ -113,7 +113,7 @@ EnumWriter::register_bits (string type, vector<int> v, vector<string> s) newpair.first = type; newpair.second = EnumRegistration (v, s, true); - + result = registry.insert (newpair); if (!result.second) { @@ -153,7 +153,7 @@ EnumWriter::read (string type, string value) } else { return read_distinct (x->second, value); } -} +} string EnumWriter::write_bits (EnumRegistration& er, int value) @@ -263,7 +263,7 @@ EnumWriter::read_bits (EnumRegistration& er, string str) } do { - + comma = str.find_first_of (','); string segment = str.substr (0, comma); |