Skip to content

Commit

Permalink
fix sample in flat_multiset
Browse files Browse the repository at this point in the history
  • Loading branch information
suomesta committed Feb 18, 2025
1 parent 7a572ea commit 8168531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/flat_set/flat_multiset/contains.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ return find(x) != end();

int main()
{
std::flat_set<int> fs = {3, 1, 4, 1};
std::flat_multiset<int> fs = {3, 1, 4, 1};

// キー3の要素が含まれているか
if (fs.contains(3)) {
Expand Down

0 comments on commit 8168531

Please sign in to comment.