1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-11 13:18:13 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Michail Vourlakos
976bf2f684 add ENABLE_MAKE_UNIQUE flag for older gcc versions
-- fix #754
-- make_unique function is not available for gcc<=4.8.x
by enabling this flag in through install script or through
cmake such systems can build latte correctly
2017-11-06 19:03:07 +02:00
Michail Vourlakos
f6cd9eccde remove never executed code
--by setting minimum requirement to C++14
we need by default  make_unique()
2017-10-06 21:29:02 +03:00
0140454
7bdf1ccb23 Include necessary header file for std::abs
While compiling Latte-Dock, i got the following error:

/data/latte-dock/src/latte-dock-git/app/iconitem.cpp:393:46:   required from here
/data/latte-dock/src/latte-dock-git/app/../liblattedock/extras.h:69:20: error: call of overloaded ‘abs(double)’ is ambiguous
     return std::abs(x - y) < std::numeric_limits<T>::epsilon() *
     std::abs(x + y) * ulp

In order to solve this error, i have to include `cmath`.
2017-01-08 12:30:03 +08:00
Johan Smith Agudelo Rodriguez
8539a5da54 formatted. 2016-12-28 21:11:29 -05:00
Johan Smith Agudelo Rodriguez
c79cbac0a6 utilities functions 2016-12-25 18:10:09 -05:00