Skip to content

Commit 197ea0b

Browse files
committed
IProjectReader: Add printErr() overload without exception info
1 parent 2d23dd3 commit 197ea0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/internal/iprojectreader.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class IProjectReader
3434
virtual std::vector<std::string> extensions() = 0;
3535

3636
protected:
37+
virtual void printErr(const std::string &errStr) final { std::cerr << "Failed to read project: " << errStr << std::endl; }
3738
virtual void printErr(const std::string &errStr, const char *what) final { std::cerr << "Failed to read project: " << errStr << std::endl << what << std::endl; }
3839

3940
private:

0 commit comments

Comments
 (0)