Skip to content

Commit

Permalink
Use the SomeType alias in the set snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
dacharyc committed Nov 3, 2023
1 parent e8efec7 commit 3e86939
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/cpp/beta/local/supported-types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct Beta_AllTypesObject {
std::vector<SomeType> listTypeName;
// :snippet-end:
// :snippet-start: beta-required-set
std::set<std::string> setTypeName;
std::set<SomeType> setTypeName;
// :snippet-end:
};
REALM_SCHEMA(Beta_AllTypesObject, boolName, optBoolName, intName, optIntName,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
std::set<std::string> setTypeName;
std::set<SomeType> setTypeName;

0 comments on commit 3e86939

Please sign in to comment.