Fix signature ITypeAheadable::isEnabled()

This commit is contained in:
Mathias Gumz 2015-01-03 21:44:31 +01:00
parent ccd86cfe9c
commit 3c85ace912

View file

@ -38,7 +38,7 @@ public:
virtual ~ITypeAheadable() { } virtual ~ITypeAheadable() { }
virtual const std::string &iTypeString() const = 0; virtual const std::string &iTypeString() const = 0;
virtual bool isEnabled() { return true; } virtual bool isEnabled() const { return true; }
char iTypeChar(size_t i) const { return iTypeString()[i]; } char iTypeChar(size_t i) const { return iTypeString()[i]; }
bool iTypeCheckStringSize(size_t sz) const { bool iTypeCheckStringSize(size_t sz) const {
return (iTypeString().size() > sz); return (iTypeString().size() > sz);