mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-20507 Adding virtual destructor to PathFilter
This commit is contained in:
parent
e57c45c5c6
commit
f843aff9d2
2 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,9 @@ std::ostream& operator<<(std::ostream& out, const ResKeyPath& value) {
|
|||
}
|
||||
|
||||
|
||||
PathFilter::~PathFilter() = default;
|
||||
|
||||
|
||||
void SimpleRuleBasedPathFilter::addRule(const std::string& ruleLine, UErrorCode& status) {
|
||||
if (ruleLine.empty()) {
|
||||
std::cerr << "genrb error: empty filter rules are not allowed" << std::endl;
|
||||
|
|
|
@ -51,6 +51,8 @@ public:
|
|||
|
||||
static const char* kEInclusionNames[];
|
||||
|
||||
virtual ~PathFilter();
|
||||
|
||||
/**
|
||||
* Returns an EInclusion on whether or not the given path should be included.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue