diff options
Diffstat (limited to '')
-rw-r--r-- | include/tagsouppullparser.h | 2 | ||||
-rw-r--r-- | test/fslock.cpp | 2 | ||||
-rw-r--r-- | test/remoteapi.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/tagsouppullparser.h b/include/tagsouppullparser.h index 12cd6666..38fa6f38 100644 --- a/include/tagsouppullparser.h +++ b/include/tagsouppullparser.h @@ -19,7 +19,7 @@ public: TEXT }; - TagSoupPullParser(std::istream& is); + explicit TagSoupPullParser(std::istream& is); virtual ~TagSoupPullParser(); nonstd::optional<std::string> get_attribute_value(const std::string& name) const; Event get_event_type() const; diff --git a/test/fslock.cpp b/test/fslock.cpp index 68074ceb..a4c8c3a9 100644 --- a/test/fslock.cpp +++ b/test/fslock.cpp @@ -16,7 +16,7 @@ using namespace newsboat; // Forks and calls FsLock::try_lock() in the child process. class LockProcess { public: - LockProcess(std::string lock_location) + explicit LockProcess(std::string lock_location) { sem_start = sem_open(sem_start_name, O_CREAT, 0644, 0); sem_stop = sem_open(sem_stop_name, O_CREAT, 0644, 0); diff --git a/test/remoteapi.cpp b/test/remoteapi.cpp index da3fb0c3..7cd1e9bf 100644 --- a/test/remoteapi.cpp +++ b/test/remoteapi.cpp @@ -14,7 +14,7 @@ using namespace newsboat; */ class test_api : public RemoteApi { public: - test_api(ConfigContainer* c) + explicit test_api(ConfigContainer* c) : RemoteApi(c) { } |