Core/PluginLoader: Add [[nodiscard]] qualifier to Load function
This commit is contained in:
parent
b889c992ea
commit
8a5e5f7643
|
|
@ -28,7 +28,7 @@ namespace Nz
|
||||||
|
|
||||||
void AddSearchDirectory(const std::filesystem::path& directoryPath);
|
void AddSearchDirectory(const std::filesystem::path& directoryPath);
|
||||||
|
|
||||||
template<typename T> Plugin<T> Load(bool activate = true);
|
template<typename T> [[nodiscard]] Plugin<T> Load(bool activate = true);
|
||||||
#ifndef NAZARA_PLUGINS_STATIC
|
#ifndef NAZARA_PLUGINS_STATIC
|
||||||
GenericPlugin Load(const std::filesystem::path& pluginPath, bool activate = true);
|
GenericPlugin Load(const std::filesystem::path& pluginPath, bool activate = true);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue