Skip to content

Commit 5a96372

Browse files
Continued work
1 parent 4cdeab5 commit 5a96372

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install build tools
2121
run: |
2222
sudo apt-get update
23-
sudo apt-get install -y build-essential g++ clang clang-format
23+
sudo apt-get install -y build-essential g++-14 clang clang-format
2424
2525
# 3. Clang-format check
2626
- name: Clang-format Check

map-with-unknown-key/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ main()
1313
std::map<std::string, int> my_map;
1414
std::print("Accessing unknown key 'unknown_key' in std::map:\n");
1515
int value = my_map["unknown_key"];
16-
std::print("Value: {}\n", value); // Should print 0, as default-constructed int is 0
16+
std::print("Value: {}\n", value); // Should print 0, as default-constructed int is 0
1717
std::print("Map size after access: {}\n", my_map.size()); // Should print 1
1818
return 0;
1919
}

0 commit comments

Comments
 (0)