Fix depreciation -> deprecation.

This commit is contained in:
Mikaël Capelle
2020-08-30 11:15:31 +02:00
parent 3780f157e4
commit d8657946e9
3 changed files with 12 additions and 10 deletions
+3 -3
View File
@@ -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());