]> git.tdb.fi Git - libs/core.git/commit
Make Console references static instead of extern
authorMikko Rasa <tdb@tdb.fi>
Tue, 3 Jan 2023 15:42:11 +0000 (17:42 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 3 Jan 2023 15:42:11 +0000 (17:42 +0200)
commitc77c9fc85ca6b9fc111b1a3d8a84c3903e3dd646
treea39b4a27c4daae3e1f73caa4b44a08ab74963c19
parent3ba20e3ddde250a78ab2410012551eb60304f766
Make Console references static instead of extern

This avoids unresolved external errors on MSVC.  It's not ideal because
every translation unit will have its own copy of the references and
initialize them separately, but the overhead for calling the instance
accessor function is not too large.
source/io/console.cpp
source/io/console.h