Try to overload or modify this operator definition with const char *ch parameter.