aafulei / color-console

A lightweight header-only C++ library to bring colors to your Windows console with a very-easy-to-use API.
MIT License
257 stars 46 forks source link

Fix linker errors by marking functions inline #11

Open kkettinger opened 7 months ago

kkettinger commented 7 months ago

If you use the color.hpp in multiple translation units, the linker will throw an error, because the functions are not marked as inline. This MR fixes it.

seanmamasde commented 2 months ago

thanks man I just encountered this weird error. Dunno why this isn't merged yet.