File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ include(GNUInstallDirs)
6868
6969add_library (beman.any_view INTERFACE )
7070add_library (beman::any_view ALIAS beman.any_view)
71+ # TODO: implement non-template friend function and remove this suppression
72+ target_compile_options (
73+ beman.any_view INTERFACE $<$<CXX_COMPILER_ID:GNU>:-Wno-non-template-friend>)
7174target_include_directories (
7275 beman.any_view
7376 INTERFACE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ struct options {
1414#elif BEMAN_ANY_VIEW_USE_NAMED()
1515
1616template <class IterConceptT >
17- using options = beman::any_view::any_view_options options{
17+ inline constexpr beman::any_view::any_view_options options{
1818 .reference_type = beman::any_view::type<int &>,
1919 .iterator_concept = beman::any_view::type<IterConceptT>,
2020};
You can’t perform that action at this time.
0 commit comments