Skip to content

Commit

Permalink
refactor(Handlebars): distinguish ostream types
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Nov 14, 2024
1 parent c46c4a9 commit 1efcc2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/mrdocs/Support/Handlebars.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ class MRDOCS_DECL OutputRef
@param os The output stream to write to
*/
template <detail::LHROStreamable Os>
requires std::is_convertible_v<Os*, std::ostream*>
requires
std::is_convertible_v<Os*, std::ostream*> &&
(!detail::StdLHROStreamable<Os>)
OutputRef( Os& os )
: out_( &os )
, fptr_( &write_to_output<Os> )
Expand Down

0 comments on commit 1efcc2e

Please sign in to comment.