Skip to content
Snippets Groups Projects
Verified Commit 527f4223 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

fix message_code

parent 7f5d634a
No related branches found
No related tags found
No related merge requests found
Pipeline #15892 passed with warnings
Pipeline: caosdb-cppinttest

#15895

    ......@@ -100,7 +100,7 @@ enum MessageCode {
    _MAP_MESSAGE_CODE(PROPERTY_WITH_DESCRIPTION_OVERRIDE),
    _MAP_MESSAGE_CODE(PROPERTY_WITH_NAME_OVERRIDE),
    _MAP_MESSAGE_CODE(INTEGER_VALUE_OUT_OF_RANGE),
    _MAP_MESSAGE_CODE(INTEGRITY_VIOLOATION),
    _MAP_MESSAGE_CODE(INTEGRITY_VIOLATION),
    };
    [[nodiscard]] inline auto get_message_code(int code) noexcept -> MessageCode {
    ......@@ -164,7 +164,7 @@ enum MessageCode {
    MessageCode::PROPERTY_WITH_DESCRIPTION_OVERRIDE,
    MessageCode::PROPERTY_WITH_NAME_OVERRIDE,
    MessageCode::INTEGER_VALUE_OUT_OF_RANGE,
    MessageCode::INTEGRITY_VIOLOATION,
    MessageCode::INTEGRITY_VIOLATION,
    };
    for (MessageCode known_code : all_codes) {
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment