We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf21828 commit d656349Copy full SHA for d656349
src/libexpr/parser-state.hh
@@ -178,18 +178,18 @@ struct StripState {
178
bool start = true;
179
size_t min = -1;
180
size_t cur = 0;
181
- bool indent(char c) {
+ inline bool indent(char c) {
182
if (!start) return true;
183
indentChar = indentChar.value_or(IndentChar(c));
184
bool ok = (indentChar == c);
185
cur += ok;
186
return ok;
187
}
188
- void stop() {
+ inline void stop() {
189
start = false;
190
min = std::min(min, cur);
191
192
- void reset() {
+ inline void reset() {
193
start = true;
194
cur = 0;
195
0 commit comments