File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ namespace msgpackcpp
1919
2020 sink_vector (std::vector<Byte,Alloc>& buf_) : buf{buf_} {}
2121
22- void write (const char * data, size_t nbytes) override
22+ void write (const char * data, size_t nbytes) override final
2323 {
2424 buf.insert (end (buf), data, data + nbytes);
2525 }
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ add_executable(tests
3636target_compile_features (tests PRIVATE cxx_std_17)
3737target_compile_options (tests PRIVATE $<${IS_NOT_MSVC} :-Wall -Wextra -Werror>)
3838target_link_options (tests PRIVATE $<$<AND :$<CONFIG:RELEASE>,${IS_NOT_MSVC} >:-s>)
39+ set_target_properties (tests PROPERTIES INTERPROCEDURAL_OPTIMIZATION TRUE )
3940# target_compile_options(tests PRIVATE $<${IS_MSVC}:/Wall /WX>)
4041target_include_directories (tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} /../src)
4142target_link_libraries (tests PRIVATE Boost::describe PRIVATE msgpack-cxx)
You can’t perform that action at this time.
0 commit comments