changed c++ version to c++20

This commit is contained in:
Torsten Schulz
2020-06-17 14:33:08 +02:00
parent 626b69e149
commit 0007ea7a81
16 changed files with 0 additions and 41 deletions

0
.gitignore vendored Normal file → Executable file
View File

40
YourChat.pro Normal file → Executable file
View File

@@ -1,40 +0,0 @@
TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt
TARGET = yourchat
QMAKE_CC = g++-7
QMAKE_CXX = g++-7
QMAKE_CXXFLAGS += -std=gnu++11 -g
SOURCES += main.cpp \
config.cpp \
server.cpp \
room.cpp \
user.cpp \
tools.cpp \
base.cpp
DISTFILES += \
config/chatconfig.json
HEADERS += \
config.h \
server.h \
room.h \
user.h \
tools.h \
base.h
LIBS += -ljsoncpp \
-lpthread
bin.path = /opt/yourchat
bin.files += yourchat
config.path = /etc/yourpart
config.files += config/chatconfig.json
INSTALLS += bin \
config

0
base.cpp Normal file → Executable file
View File

0
base.h Normal file → Executable file
View File

0
config.cpp Normal file → Executable file
View File

0
config.h Normal file → Executable file
View File

0
config/chatconfig.json Normal file → Executable file
View File

0
main.cpp Normal file → Executable file
View File

0
room.cpp Normal file → Executable file
View File

0
room.h Normal file → Executable file
View File

0
server.cpp Normal file → Executable file
View File

0
server.h Normal file → Executable file
View File

0
tools.cpp Normal file → Executable file
View File

0
tools.h Normal file → Executable file
View File

1
user.cpp Normal file → Executable file
View File

@@ -111,7 +111,6 @@ namespace Yc {
if (jsonTree["token"].asString() != _token) {
return;
}
std::cout << jsonTree["type"].asString() << std::endl;
if (jsonTree["type"].asString() == "message") {
checkString(jsonTree["message"].asString());
} else if (jsonTree["type"].asString() == "dice") {

0
user.h Normal file → Executable file
View File