Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
474446218d
6 changed files with 15 additions and 13 deletions
|
|
@ -45,7 +45,7 @@ xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets
|
|||
# ----------------------------------------------------------------
|
||||
|
||||
install(TARGETS hello DESTINATION bin/indentlog/example)
|
||||
install(TARGETS ex1 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS ex2 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS ex3 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS ex4 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS indentlog_ex1 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS indentlog_ex2 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS indentlog_ex3 DESTINATION bin/indentlog/example)
|
||||
install(TARGETS indentlog_ex4 DESTINATION bin/indentlog/example)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
add_executable(ex1 ex1.cpp)
|
||||
xo_include_options2(ex1)
|
||||
add_executable(indentlog_ex1 ex1.cpp)
|
||||
xo_include_options2(indentlog_ex1)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,4 @@
|
|||
add_executable(ex2 ex2.cpp)
|
||||
xo_include_options2(ex2)
|
||||
# NOTE: need target names to be globally unique within the xo umbrella
|
||||
|
||||
add_executable(indentlog_ex2 ex2.cpp)
|
||||
xo_include_options2(indentlog_ex2)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
add_executable(ex3 ex3.cpp)
|
||||
xo_include_options2(ex3)
|
||||
add_executable(indentlog_ex3 ex3.cpp)
|
||||
xo_include_options2(indentlog_ex3)
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
add_executable(ex4 ex4.cpp)
|
||||
xo_include_options2(ex4)
|
||||
add_executable(indentlog_ex4 ex4.cpp)
|
||||
xo_include_options2(indentlog_ex4)
|
||||
|
|
|
|||
|
|
@ -347,7 +347,7 @@ namespace xo {
|
|||
ss << code_location(this->file_, this->line_,
|
||||
log_config::code_location_color);
|
||||
|
||||
std::string ss_str = std::move(ss.str()); /*c++20*/
|
||||
std::string ss_str = ss.str(); /*hoping for copy elision here*/
|
||||
sbuf2->sputn(ss_str.c_str(), ss_str.size());
|
||||
|
||||
this->location_flag_ = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue