db.hh: use hasPrefix for prefix comparisons
[?]
Feb 24, 2021, 12:00 PM
2W6IGLX4PPTPQLPTM6UX2R3CGDGUQUPNZTRY32J7AOBTUM3LE5TACDependencies
Change contents
- replacement in src/libhydra/db.hh at line 20
if ((std::string(s, 0, lower_prefix.size()) == lower_prefix) ||(std::string(s, 0, upper_prefix.size()) == upper_prefix)) {if (hasPrefix(s, lower_prefix) || hasPrefix(s, upper_prefix)) {