Searched refs:cmtpos (Results 1 – 2 of 2) sorted by relevance
219 auto cmtpos = std::min(buffer.find('#'), buffer.size()); in LoadConfigFromFile() local220 while(cmtpos > 0 && std::isspace(buffer[cmtpos-1])) in LoadConfigFromFile()221 --cmtpos; in LoadConfigFromFile()222 if(!cmtpos) continue; in LoadConfigFromFile()223 buffer.erase(cmtpos); in LoadConfigFromFile()
40 std::size_t cmtpos{buffer.find_first_of('#')}; in read_clipped_line() local41 if(cmtpos < buffer.length()) in read_clipped_line()42 buffer.resize(cmtpos); in read_clipped_line()