File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (C) 2011-2022 Red Hat, Inc.
2
+ * Copyright (C) 2011-2023 Red Hat, Inc.
3
3
*
4
4
* This file is part of csdiff.
5
5
*
@@ -222,7 +222,7 @@ void MsgFilter::setFileNameSubstitution(
222
222
223
223
std::string MsgFilter::filterMsg (
224
224
const std::string &msg,
225
- const std::string &checker)
225
+ const std::string &checker) const
226
226
{
227
227
std::string filtered = msg;
228
228
for (const MsgReplace &rpl : d->repList )
@@ -235,7 +235,7 @@ std::string MsgFilter::filterMsg(
235
235
return filtered;
236
236
}
237
237
238
- std::string MsgFilter::filterPath (const std::string &origPath)
238
+ std::string MsgFilter::filterPath (const std::string &origPath) const
239
239
{
240
240
std::string path = origPath;
241
241
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (C) 2011-2022 Red Hat, Inc.
2
+ * Copyright (C) 2011-2023 Red Hat, Inc.
3
3
*
4
4
* This file is part of csdiff.
5
5
*
@@ -47,8 +47,8 @@ class MsgFilter {
47
47
48
48
std::string filterMsg (
49
49
const std::string &msg,
50
- const std::string &checker);
51
- std::string filterPath (const std::string &path);
50
+ const std::string &checker) const ;
51
+ std::string filterPath (const std::string &path) const ;
52
52
53
53
private:
54
54
MsgFilter ();
You can’t perform that action at this time.
0 commit comments