Skip to content
Snippets Groups Projects
Commit ff63e966 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

fix include optional on alpine 3.7

parent 176d6617
No related branches found
No related tags found
No related merge requests found
#pragma once
 
#include <tuple>
#include <optional>
#if __has_include(<optional>) && __cplusplus >= 201703L //FIXME has_include to allow build on gitlab-ci with alpine 3.7
#include <optional>
#else
#include <experimental/optional>
namespace std {
template < class T >
using optional = experimental::optional < T >;
constexpr auto nullopt = std::experimental::nullopt;
}
#endif
 
#include <QString>
#include <QImage>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment