From 749ad7cd83f4061fc8714202bcc51b3ec065139d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 6 Jul 2020 20:40:07 +0200 Subject: [PATCH] PluginUnavailable: inherit the base class constructor --- src/PluginUnavailable.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/PluginUnavailable.hxx b/src/PluginUnavailable.hxx index a562b3890..379bd87bf 100644 --- a/src/PluginUnavailable.hxx +++ b/src/PluginUnavailable.hxx @@ -1,5 +1,5 @@ /* - * Copyright 2003-2018 The Music Player Daemon Project + * Copyright 2003-2020 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -29,8 +29,7 @@ */ class PluginUnavailable final : public std::runtime_error { public: - explicit PluginUnavailable(const char *msg) - :std::runtime_error(msg) {} + using std::runtime_error::runtime_error; }; #endif