Skip to content

Commit b31f25e

Browse files
committed
Update generic_dictionary.cpp
1 parent dd08ab4 commit b31f25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/xtd.core.examples/generic_collections/generic_dictionary/src/generic_dictionary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class example {
7171
// The elements of the value_collection are strongly typed
7272
// with the type that was specified for dictionary values.
7373
console::write_line();
74-
for(const auto s : values)
74+
for(const auto& s : values)
7575
console::write_line("value = {0}", s);
7676

7777
// To get the keys alone, use the keys property.

0 commit comments

Comments
 (0)