Skip to content

Commit

Permalink
Fix to compilation failure with MSVS 17.6 (stlab#121)
Browse files Browse the repository at this point in the history
Error	C2678	binary '<<': no operator found which takes a left-hand operand of type 'std::ostream' (or there is no acceptable conversion)	adobe_source_libraries\adobe\serializable.hpp	58	

CV qualifier was unnecessary in partial template specialisation.
  • Loading branch information
g-217 authored Aug 5, 2024
1 parent 4963697 commit 8b1150d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adobe/serializable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ template <class T, class Stream>
struct has_stream_insertion : decltype(implementation::test_stream_insertion<T, Stream>(0)) {};

template <class T>
using has_ostream_insertion = has_stream_insertion<T, std::ostream&>;
using has_ostream_insertion = has_stream_insertion<T, std::ostream>;

/**************************************************************************************************/

Expand Down

0 comments on commit 8b1150d

Please sign in to comment.