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

Revert include optional from experimental library

parent 0cec0ba5
No related branches found
No related tags found
1 merge request!44Advance to C++17
#pragma once #pragma once
   
#include <tuple> #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 <QString>
#include <QImage> #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