PluginUnavailable: inherit the base class constructor
This commit is contained in:
parent
0b59f4eaee
commit
749ad7cd83
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003-2018 The Music Player Daemon Project
|
* Copyright 2003-2020 The Music Player Daemon Project
|
||||||
* http://www.musicpd.org
|
* http://www.musicpd.org
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -29,8 +29,7 @@
|
|||||||
*/
|
*/
|
||||||
class PluginUnavailable final : public std::runtime_error {
|
class PluginUnavailable final : public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
explicit PluginUnavailable(const char *msg)
|
using std::runtime_error::runtime_error;
|
||||||
:std::runtime_error(msg) {}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user