scrollpad: pass boost::regex flags explicitly

This commit is contained in:
Andrzej Rybczak
2013-07-09 21:03:18 +02:00
parent 54d11a464c
commit 12c7dc2f5b
3 changed files with 11 additions and 10 deletions

View File

@@ -21,6 +21,7 @@
#ifndef NCMPCPP_SCROLLPAD_H
#define NCMPCPP_SCROLLPAD_H
#include <boost/regex.hpp>
#include "window.h"
#include "strbuffer.h"
@@ -46,8 +47,8 @@ struct Scrollpad: public Window
void flush();
void reset();
bool setProperties(Color begin, const std::string &s, Color end, size_t id = -2);
bool setProperties(Format begin, const std::string &s, Format end, size_t id = -2);
bool setProperties(Color begin, const std::string &s, Color end, size_t id = -2, boost::regex::flag_type flags = boost::regex::icase);
bool setProperties(Format begin, const std::string &s, Format end, size_t id = -2, boost::regex::flag_type flags = boost::regex::icase);
void removeProperties(size_t id = -2);
template <typename ItemT>