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

src/Linux/local_cache.cpp: add missing <stdexcept> include #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 10, 2024

  1. src/Linux/local_cache.cpp: add missing <stdexcept> include

    Without the change build fails on `gcc-13` as:
    
        local_cache.cpp: In function 'void throw_if(bool, const std::string&)':
        local_cache.cpp:40:20: error: 'runtime_error' is not a member of 'std'
           40 |         throw std::runtime_error(error);
              |                    ^~~~~~~~~~~~~
        local_cache.cpp:17:1: note: 'std::runtime_error' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?
           16 | #include <sys/file.h>
          +++ |+#include <stdexcept>
           17 | #include <sys/stat.h>
    trofi committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    fbcae7b View commit details
    Browse the repository at this point in the history