d
This commit is contained in:
1
gen-C++
1
gen-C++
@@ -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 \
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user