diff --git a/src/realm.h b/src/realm.h index cf7019cc5d6..0eee2c6ab2c 100644 --- a/src/realm.h +++ b/src/realm.h @@ -132,7 +132,6 @@ typedef enum realm_value_type { RLM_TYPE_LINK, RLM_TYPE_UUID, RLM_TYPE_LIST, - RLM_TYPE_SET, RLM_TYPE_DICTIONARY, } realm_value_type_e; diff --git a/src/realm/object-store/c_api/conversion.hpp b/src/realm/object-store/c_api/conversion.hpp index 6f3a48480c3..e3b4b1ad153 100644 --- a/src/realm/object-store/c_api/conversion.hpp +++ b/src/realm/object-store/c_api/conversion.hpp @@ -146,8 +146,6 @@ static inline Mixed from_capi(realm_value_t val) return Mixed{UUID{from_capi(val.uuid)}}; case RLM_TYPE_LIST: return Mixed{0, CollectionType::List}; - case RLM_TYPE_SET: - return Mixed{0, CollectionType::Set}; case RLM_TYPE_DICTIONARY: return Mixed{0, CollectionType::Dictionary}; } @@ -231,9 +229,6 @@ static inline realm_value_t to_capi(Mixed value) if (type == type_List) { val.type = RLM_TYPE_LIST; } - else if (type == type_Set) { - val.type = RLM_TYPE_SET; - } else if (type == type_Dictionary) { val.type = RLM_TYPE_DICTIONARY; } diff --git a/src/realm/object-store/c_api/query.cpp b/src/realm/object-store/c_api/query.cpp index e416bd182bc..fc6de90e8fc 100644 --- a/src/realm/object-store/c_api/query.cpp +++ b/src/realm/object-store/c_api/query.cpp @@ -168,8 +168,6 @@ struct QueryArgumentsAdapter : query_parser::Arguments { return type_UUID; case RLM_TYPE_LIST: return type_List; - case RLM_TYPE_SET: - return type_Set; case RLM_TYPE_DICTIONARY: return type_Dictionary; } diff --git a/test/object-store/c_api/c_api.cpp b/test/object-store/c_api/c_api.cpp index d2f24ed48b5..736952f5d43 100644 --- a/test/object-store/c_api/c_api.cpp +++ b/test/object-store/c_api/c_api.cpp @@ -210,7 +210,6 @@ bool rlm_val_eq(realm_value_t lhs, realm_value_t rhs) switch (lhs.type) { case RLM_TYPE_NULL: case RLM_TYPE_LIST: - case RLM_TYPE_SET: case RLM_TYPE_DICTIONARY: return true; case RLM_TYPE_INT: