Commit c94e27de authored by Alexander Lapshin's avatar Alexander Lapshin

handle clang compile warnings

parent 5009c7a9
...@@ -467,7 +467,7 @@ inline bool substring_between( ...@@ -467,7 +467,7 @@ inline bool substring_between(
return false; return false;
} }
unsigned last_delim_pos = s.find_first_of(stop_delim, end_pos_of_first_delim); const auto last_delim_pos = s.find_first_of(stop_delim, end_pos_of_first_delim);
if (last_delim_pos == std::string::npos) { if (last_delim_pos == std::string::npos) {
return false; return false;
......
#pragma once #pragma once
#ifndef MSVC #if !defined(MSVC) && !defined(__clang__)
#pragma GCC diagnostic ignored "-Wnon-template-friend" #pragma GCC diagnostic ignored "-Wnon-template-friend"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment