
















taskset --cpu-list 1 ./DDNet




1
1







# git remote add ddnet https://github.com/ddnet/ddnet
# git fetch ddnet
git reset --soft ddnet/master
git add -A
git commit -m "mymsg"
git push --force (edited)
git rebase -i HEAD~N
(do the rebase)
git push --force

git rebase -i HEAD~N
(do the rebase)
git push --force rebase -i is more convenient




git rebase -i HEAD~N
(do the rebase)
git push --force 



/Users/deen/git/MomentCap/src/engine/shared/http.h:125:7: error: no template named 'optional' in namespace 'std'
125 | std::optional<int64_t> m_ResultDate = {};
| ~~~~~^diff --git a/CMakeLists.txt b/CMakeLists.txt
index d52862185..56dc3c556 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -161,12 +161,12 @@ endif()
if(NOT MSVC)
if(CMAKE_VERSION VERSION_LESS 3.1 OR TARGET_OS STREQUAL "mac")
- check_cxx_compiler_flag(-std=gnu++11 FLAG_SUPPORTED_std_gnu__11)
+ check_cxx_compiler_flag(-std=c++17 FLAG_SUPPORTED_std_gnu__11)
if(FLAG_SUPPORTED_std_gnu__11)
if(CMAKE_CXX_FLAGS)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
else()
- set(CMAKE_CXX_FLAGS -std=gnu++11)
+ set(CMAKE_CXX_FLAGS -std=c++17)
endif()
endif()
endif()
1



