-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using std::make_unique C++17 and add const ref for readability #219
base: master
Are you sure you want to change the base?
Conversation
CMakeLists.txt
Outdated
@@ -12,6 +12,8 @@ set(CMAKE_AUTOMOC ON) | |||
set(CMAKE_AUTOUIC ON) | |||
set(CMAKE_INCLUDE_CURRENT_DIR ON) | |||
|
|||
set(CMAKE_CXX_STANDARD 17) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The c++ standard is driven by lxqt-build-tools LXQTCompilerSettings.cmake module. Now I see, it was bumped to v17 a while ago. Please, remove this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix it bf85b6d
sudo.cpp
Outdated
const char ** param_arg = params.get() + 1; | ||
|
||
std::string program = backendName().toLocal8Bit().data(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, avoid trailing spaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix it bf85b6d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GTM
@tsujan