This commit is contained in:
Михаил Капелько
2024-03-26 10:22:28 +03:00
parent a9f19bdf41
commit 2891de43a0
2 changed files with 2 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
c++ -o test_memory_C++ \
-std=c++11 \
-Ilanguage-C++/Memory/src \
language-C++/Memory/src/Memory.Aux.cpp \
language-C++/Memory/src/Memory.Test.cpp \

View File

@@ -5,7 +5,7 @@ std::map<int, int> memory_generateConstPlayfield(
int n
) {
std::map<int, int> idGroups;
int id = 0;
auto id = 0;
for (int gid = 0; gid < n; ++gid) {
idGroups[id] = gid;
id += 1;