mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
Misc.
This commit is contained in:
parent
0dae2c4a39
commit
f87ee1323c
@ -123,15 +123,12 @@ endif()
|
|||||||
### Definitions
|
### Definitions
|
||||||
|
|
||||||
target_compile_definitions(ccls PRIVATE
|
target_compile_definitions(ccls PRIVATE
|
||||||
LOGURU_WITH_STREAMS=1
|
|
||||||
LOGURU_FILENAME_WIDTH=18
|
|
||||||
LOGURU_THREADNAME_WIDTH=13
|
|
||||||
DEFAULT_RESOURCE_DIRECTORY="${Clang_RESOURCE_DIR}")
|
DEFAULT_RESOURCE_DIRECTORY="${Clang_RESOURCE_DIR}")
|
||||||
|
|
||||||
### Includes
|
### Includes
|
||||||
|
|
||||||
target_include_directories(ccls PRIVATE
|
target_include_directories(ccls PRIVATE src)
|
||||||
src
|
target_include_directories(ccls SYSTEM PRIVATE
|
||||||
third_party
|
third_party
|
||||||
third_party/rapidjson/include)
|
third_party/rapidjson/include)
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ std::optional<Matcher> Matcher::Create(const std::string& search) {
|
|||||||
// std::regex_constants::nosubs
|
// std::regex_constants::nosubs
|
||||||
);
|
);
|
||||||
return m;
|
return m;
|
||||||
} catch (std::exception e) {
|
} catch (const std::exception& e) {
|
||||||
Out_ShowLogMessage out;
|
Out_ShowLogMessage out;
|
||||||
out.display_type = Out_ShowLogMessage::DisplayType::Show;
|
out.display_type = Out_ShowLogMessage::DisplayType::Show;
|
||||||
out.params.type = lsMessageType::Error;
|
out.params.type = lsMessageType::Error;
|
||||||
|
Loading…
Reference in New Issue
Block a user