diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-01-15 15:57:32 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-01-15 18:19:16 +0100 |
commit | 9b2845e1691b5587d731c3dae9f695ca2db0be1a (patch) | |
tree | 57cdbc9c5176b41252dd23413d466b7b2f98a43d /test/libapt/getarchitectures_test.cc | |
parent | c987dff466fcb80278851df212f86cfce86ee9bc (diff) |
return correct position in APT::StringView::(r)find
The position returned is supposed to be the position of the character
counted from the start of the string, but if we used the substr calling
overloads the skipped over prefix wasn't considered. The pos parameter
of rfind had also the wrong semantic.
Diffstat (limited to 'test/libapt/getarchitectures_test.cc')
0 files changed, 0 insertions, 0 deletions