We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac49e4a commit 343b654Copy full SHA for 343b654
1 file changed
backward.hpp
@@ -3819,7 +3819,7 @@ class SourceFile {
3819
3820
static std::vector<std::string> &get_mutable_paths_from_env_variable() {
3821
static volatile std::vector<std::string> paths = get_paths_from_env_variable_impl();
3822
- return paths;
+ return const_cast<std::vector<std::string>&>(paths);
3823
}
3824
3825
static const std::vector<std::string> &get_paths_from_env_variable() {
0 commit comments