Only set connection history if strings differ

This commit is contained in:
Tim Wojtulewicz 2022-05-09 14:35:56 -07:00
parent 0aafc8ae6c
commit 1f8d406658
3 changed files with 12 additions and 2 deletions

View file

@ -56,6 +56,7 @@ public:
bool operator==(const String& bs) const;
bool operator<(const String& bs) const;
bool operator==(std::string_view s) const;
bool operator!=(std::string_view s) const;
byte_vec Bytes() const { return b; }
int Len() const { return n; }