diff options
m--------- | depends/mglpp | 0 | ||||
-rw-r--r-- | src/Body.cpp | 1 | ||||
-rw-r--r-- | src/QuickMedia.cpp | 1 | ||||
-rw-r--r-- | src/Storage.cpp | 1 | ||||
-rw-r--r-- | src/VideoPlayer.cpp | 1 | ||||
-rw-r--r-- | src/plugins/FileManager.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Lbry.cpp | 1 | ||||
-rw-r--r-- | src/plugins/LocalAnime.cpp | 1 | ||||
-rw-r--r-- | src/plugins/LocalManga.cpp | 1 | ||||
-rw-r--r-- | src/plugins/MangaCombined.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Mangadex.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Matrix.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Page.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Peertube.cpp | 1 | ||||
-rw-r--r-- | src/plugins/Youtube.cpp | 1 |
15 files changed, 14 insertions, 0 deletions
diff --git a/depends/mglpp b/depends/mglpp -Subproject 3f07fa13a3e93eea87e2a885fa24ae6ea0aeb88 +Subproject fd15a6947741c997072df8b1ddf93cefc416c83 diff --git a/src/Body.cpp b/src/Body.cpp index e5a23b8..1d11962 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -15,6 +15,7 @@ #include <assert.h> #include <malloc.h> #include <cmath> +#include <algorithm> struct BodySpacing { float spacing_y = 0.0f; diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 151c136..648f231 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -54,6 +54,7 @@ #include <sys/stat.h> #include <cmath> #include <random> +#include <algorithm> #include <mglpp/graphics/Rectangle.hpp> #include <mglpp/graphics/Sprite.hpp> diff --git a/src/Storage.cpp b/src/Storage.cpp index c09e23b..dc6b6a2 100644 --- a/src/Storage.cpp +++ b/src/Storage.cpp @@ -10,6 +10,7 @@ #include <rapidjson/stringbuffer.h> #include <unordered_set> #include <filesystem> +#include <algorithm> #include <pwd.h> #include <unistd.h> diff --git a/src/VideoPlayer.cpp b/src/VideoPlayer.cpp index c56981a..f263fc9 100644 --- a/src/VideoPlayer.cpp +++ b/src/VideoPlayer.cpp @@ -9,6 +9,7 @@ #include <json/writer.h> #include <memory> #include <assert.h> +#include <algorithm> #include <sys/socket.h> #include <arpa/inet.h> diff --git a/src/plugins/FileManager.cpp b/src/plugins/FileManager.cpp index 7508776..ba0fcfd 100644 --- a/src/plugins/FileManager.cpp +++ b/src/plugins/FileManager.cpp @@ -5,6 +5,7 @@ #include "../../include/Config.hpp" #include "../../include/Storage.hpp" #include "../../include/QuickMedia.hpp" +#include <algorithm> namespace QuickMedia { static bool last_accessed_dir_loaded = false; diff --git a/src/plugins/Lbry.cpp b/src/plugins/Lbry.cpp index 38b6238..5d611fd 100644 --- a/src/plugins/Lbry.cpp +++ b/src/plugins/Lbry.cpp @@ -2,6 +2,7 @@ #include "../../include/Notification.hpp" #include "../../include/StringUtils.hpp" #include "../../include/Theme.hpp" +#include <algorithm> #include <json/value.h> #include <json/writer.h> diff --git a/src/plugins/LocalAnime.cpp b/src/plugins/LocalAnime.cpp index 8ab9454..bab662b 100644 --- a/src/plugins/LocalAnime.cpp +++ b/src/plugins/LocalAnime.cpp @@ -11,6 +11,7 @@ #include <mglpp/window/Window.hpp> #include <json/value.h> #include <math.h> +#include <algorithm> namespace QuickMedia { static const mgl::Color finished_watching_color = mgl::Color(43, 255, 47); diff --git a/src/plugins/LocalManga.cpp b/src/plugins/LocalManga.cpp index 3bb3c93..fa0df27 100644 --- a/src/plugins/LocalManga.cpp +++ b/src/plugins/LocalManga.cpp @@ -8,6 +8,7 @@ #include "../../include/QuickMedia.hpp" #include <json/value.h> #include <dirent.h> +#include <algorithm> // TODO: Make thumbnail paths in history and thumbnail-link relative to local_manga.directory diff --git a/src/plugins/MangaCombined.cpp b/src/plugins/MangaCombined.cpp index ce08b1c..f5bb643 100644 --- a/src/plugins/MangaCombined.cpp +++ b/src/plugins/MangaCombined.cpp @@ -1,4 +1,5 @@ #include "../../plugins/MangaCombined.hpp" +#include <algorithm> namespace QuickMedia { static const int SEARCH_TIMEOUT_MILLISECONDS = 5000; diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp index 4b5745f..b8d4f1e 100644 --- a/src/plugins/Mangadex.cpp +++ b/src/plugins/Mangadex.cpp @@ -2,6 +2,7 @@ #include "../../include/Utils.hpp" #include "../../include/Theme.hpp" #include "../../include/Config.hpp" +#include <algorithm> #include <json/writer.h> namespace QuickMedia { diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 06ed3a0..c4aa076 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -20,6 +20,7 @@ #include <malloc.h> #include "../../include/QuickMedia.hpp" #include <HtmlParser.h> +#include <algorithm> // TODO: Use string assign with string length instead of assigning to c string (which calls strlen) // Show images/videos inline. diff --git a/src/plugins/Page.cpp b/src/plugins/Page.cpp index 0e52ca4..8881555 100644 --- a/src/plugins/Page.cpp +++ b/src/plugins/Page.cpp @@ -3,6 +3,7 @@ #include "../../include/Theme.hpp" #include "../../include/Storage.hpp" #include "../../include/QuickMedia.hpp" +#include <algorithm> #include <json/reader.h> namespace QuickMedia { diff --git a/src/plugins/Peertube.cpp b/src/plugins/Peertube.cpp index 6d55e16..d7667dd 100644 --- a/src/plugins/Peertube.cpp +++ b/src/plugins/Peertube.cpp @@ -4,6 +4,7 @@ #include "../../include/Utils.hpp" #include "../../include/StringUtils.hpp" #include "../../include/Config.hpp" +#include <algorithm> #include <json/value.h> namespace QuickMedia { diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp index 1a29110..2c20f3f 100644 --- a/src/plugins/Youtube.cpp +++ b/src/plugins/Youtube.cpp @@ -12,6 +12,7 @@ #include "../../include/QuickMedia.hpp" #include <optional> #include <json/reader.h> +#include <algorithm> extern "C" { #include <HtmlParser.h> } |