summaryrefslogtreecommitdiff
path: root/8p11.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-10-06 23:05:52 +0200
committerOskar <[email protected]>2024-10-06 23:05:52 +0200
commitee020f14877e5ed1708147a22133e9a413a948f1 (patch)
treee066b98e81ccab2bc02dc508919447beb17674b0 /8p11.cpp
parent0921163e1f88c8e80991f0c94e0fc70c6dcba72d (diff)
more
Diffstat (limited to '8p11.cpp')
-rw-r--r--8p11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/8p11.cpp b/8p11.cpp
index 267e692..49a7825 100644
--- a/8p11.cpp
+++ b/8p11.cpp
@@ -32,9 +32,9 @@ int main () {
people.push_back(info);
}
- for(auto &a : people) {
+ for(const auto &a : people) {
std::cout << a.name << "\n";
- for(auto &b : a.phones) {
+ for(const auto &b : a.phones) {
std::cout << b << "\n";
}
}