UI-Coordinates: fix insidious bug
util::contains used to pick the overload for strings, i.e. it first converted the UI-Coordinates to diagnostic output format and then searched that string for '*' to determine if the pattern is explicit works as expected, but not what you'd intend.... ...and breaks spectacularly once you search for something as innocuous as '.'
This commit is contained in:
parent
983c490644
commit
66cd1fcea8
1 changed files with 1 additions and 0 deletions
|
|
@ -290,6 +290,7 @@ namespace interact {
|
|||
|
||||
/* === String representation === */
|
||||
|
||||
explicit
|
||||
operator string() const
|
||||
{
|
||||
if (isnil (*this))
|
||||
|
|
|
|||
Loading…
Reference in a new issue