Commit 2c04adee authored by Tomáš Jakubec's avatar Tomáš Jakubec
Browse files

The minimum standard requirements c++14

parent 99300737
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
TEMPLATE = app
CONFIG += console c++17
CONFIG += console c++14
CONFIG -= app_bundle
CONFIG -= qt

+3 −2
Original line number Diff line number Diff line
@@ -6,7 +6,8 @@

/**
 * @brief The MemberApproach class
 * Generic abstract class providing the
 * Generic abstract class providing the approach to
 * any attribute of a class using getValue and setValue
 */
template <typename Class, typename ValueType>
class MemberApproach{
@@ -245,7 +246,7 @@ public:

template <typename Ref>
struct MemberReferenceType {
    static_assert (std::is_trivial_v<Ref>, "The Ref must be a type of member reference (MemberType Class::*) or reference getter (MemberType& (Class::*)()) into class \
    static_assert (std::is_trivial<Ref>::value, "The Ref must be a type of member reference (MemberType Class::*) or reference getter (MemberType& (Class::*)()) into class \
or a pair of getter and setter (std::pair<MemberType (Class::*)(), void (Class::*)(const MemberType&))");
};

+1 −1
Original line number Diff line number Diff line
@@ -139,7 +139,7 @@ public:
                    ist.ignore(500, '\n');
                }

                dataPositions.insert(std::pair(dataName, ist.tellg()));
                dataPositions.insert(std::make_pair(dataName, ist.tellg()));
            }
        }
        ist.clear();