OpenTrespasser / JurassicParkTrespasser

A git-based fork of the Jurassic Park: Trespasser source code.
98 stars 24 forks source link

Nullstream std::endl support #34

Closed meekee7 closed 4 years ago

meekee7 commented 4 years ago

nullstream is a NOP output stream, used only in the Final configuration for the dout output stream, which is otherwise used for debug information. dout is often used with std::endl, but using std::endl with nullstream causes compiler errors. Adding an overload to the << operator resolves that problem.