Михаил Капелько 7 months ago
parent
commit
2891de43a0
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      gen-C++
  2. +1
    -1
      language-C++/Memory/src/Memory.Aux.cpp

+ 1
- 0
gen-C++ View File

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


+ 1
- 1
language-C++/Memory/src/Memory.Aux.cpp View File

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


Loading…
Cancel
Save