refs #584, removed unused function

* fixed define in the same step
This commit is contained in:
Klaus Basan
2016-01-29 21:22:52 +01:00
parent 5954d154cc
commit e1e922cbb1
4 changed files with 2 additions and 13 deletions

View File

@@ -72,9 +72,3 @@ uint BlackMisc::calculateHash(const QList<int> &values, const char *className)
}
return calculateHash(list, className);
}
const QString &BlackMisc::localHostNameEnvVariable()
{
static const QString hostName = QProcessEnvironment::systemEnvironment().value("COMPUTERNAME", QProcessEnvironment::systemEnvironment().value("HOSTNAME"));
return hostName;
}

View File

@@ -151,9 +151,6 @@ namespace BlackMisc
//! Hash value, but with int list
BLACKMISC_EXPORT uint calculateHash(const QList<int> &values, const char *className);
//! Get local host name env.variable
BLACKMISC_EXPORT const QString &localHostNameEnvVariable();
//! Own implementation of std::make_unique, a C++14 feature not provided by GCC in C++11 mode
template<typename T, typename... Args>
std::unique_ptr<T> make_unique(Args &&... args)