Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Made constructor explicit.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustWhit3 committed Sep 12, 2023
1 parent b82d3f4 commit 1c798cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ptc/print.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ namespace ptc
* @brief Default constructor of the Print class. It initializes the basic class members and enable (if required) performance improvements..
*
*/
Print():
explicit Print():
end( StringConverter<T_str>( "\n"s ) ),
sep( StringConverter<T_str>( " "s ) ),
flush( false )
Expand Down

0 comments on commit 1c798cf

Please sign in to comment.