mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Fix depreciation -> deprecation.
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
|
||||
namespace utils {
|
||||
|
||||
void show_depreciation_warning(std::string_view name, std::string_view message, bool show_once) {
|
||||
void show_deprecation_warning(std::string_view name, std::string_view message, bool show_once) {
|
||||
|
||||
// Contains the list of filename / line number for which a depreciation warning has already been shown.
|
||||
// Contains the list of filename / line number for which a deprecation warning has already been shown.
|
||||
static std::set<std::pair<std::string, int>> DeprecatedLines;
|
||||
|
||||
// Find the caller:
|
||||
@@ -27,7 +27,7 @@ namespace utils {
|
||||
return;
|
||||
}
|
||||
|
||||
// Register the depreciation:
|
||||
// Register the deprecation:
|
||||
DeprecatedLines.emplace(filename, lineno);
|
||||
|
||||
auto path = relative(std::filesystem::path(filename), QCoreApplication::applicationDirPath().toStdWString());
|
||||
|
||||
Reference in New Issue
Block a user