Skip to content
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

Add SOCI_OVERRIDE macro as conditional C++11 override specifier #596

Merged
merged 1 commit into from
Sep 24, 2017
Merged

Add SOCI_OVERRIDE macro as conditional C++11 override specifier #596

merged 1 commit into from
Sep 24, 2017

Commits on Sep 24, 2017

  1. Add SOCI_OVERRIDE macro as conditional C++11 override specifier

    MSVC++ 1900+ always compile with C++11 mode enabled, so it should be
    safe to selectively enable 'override'specifier for internal use.
    
    It does not enable all C++11 features for SOCI and we still compile
    with C++11 compilation mode SOCI_CXX_C11=OFF by default.
    
    Refactoring performed with clang-tidy-4.0:
    
     cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DSOCI_CXX_C11=ON ..
     run-clang-tidy.py -clang-tidy-binary -header-filter='.*' \
                       -checks='-*,modernize-use-modernize' -fix
    mloskot committed Sep 24, 2017
    Configuration menu
    Copy the full SHA
    05ab0bc View commit details
    Browse the repository at this point in the history