diff --git a/src/filters.cc b/src/filters.cc index 6eca43c4..7443f870 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -55,7 +55,7 @@ void colorize_cplusplus(DisplayBuffer& display_buffer) //static boost::regex operators("->|\\+|\\-|\\*|/|\\\\|\\&|\\|\\^|[<>=!+-]=|=|\\(|\\)|\\[|\\]|\\{|\\}|\\<(not|and|or|xor)\\>"); //colorize_regex(display_buffer, operators, Color::Green); - static boost::regex types_keywords("\\<(const|auto|namespace|static|volatile|class|struct|enum|union|public|protected|private|template|typedef)\\>"); + static boost::regex types_keywords("\\<(const|auto|namespace|static|volatile|class|struct|enum|union|public|protected|private|template|typedef|virtual)\\>"); colorize_regex(display_buffer, types_keywords, Color::Green); }