1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-30 14:50:12 +03:00

remove never executed code

--by setting minimum requirement to C++14
we need by default  make_unique()
This commit is contained in:
Michail Vourlakos 2017-10-06 21:29:02 +03:00
parent 152d245016
commit f6cd9eccde

View File

@ -15,16 +15,6 @@
#include <memory>
#include <cmath>
#if __GLIBCXX__ <= 20150623
namespace std {
template<class T, class... Args>
unique_ptr<T> make_unique(Args &&... args)
{
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}
}
#endif
/*!
* @brief convert a QRect to a QString with format `(<x>, <y>) <width>x<height>`
*/