]> git.mxchange.org Git - simgear.git/commit
Don't include <iostream> and "using" declarations in header files
authortimoore <timoore>
Mon, 2 Jun 2008 20:21:27 +0000 (20:21 +0000)
committertimoore <timoore>
Mon, 2 Jun 2008 20:21:27 +0000 (20:21 +0000)
commitd219c5c4c613e4f36d8ff1ce8af674fc96dcb543
tree7f6f9285c15d8f1d97ca1d2464d2661916885060
parent1a498348ee6d14be3e798714211970fe671ddf9f
Don't include <iostream> and "using" declarations in header files

<iostream> sucks in expensive initialization of the standard streams
and isn't appropriate in a header file. Use <istream> and <ostream>
instead.

using declarations should never appear at global scope in a header
file; source files get to decide what they want to use in their
namespace.
21 files changed:
simgear/bucket/newbucket.hxx
simgear/debug/logstream.cxx
simgear/debug/logstream.hxx
simgear/io/sg_binobj.cxx
simgear/io/tcp_client.cxx
simgear/math/point3d.hxx
simgear/misc/sgstream.cxx
simgear/misc/sgstream.hxx
simgear/misc/zfstream.cxx
simgear/misc/zfstream.hxx
simgear/props/props.cxx
simgear/props/props.hxx
simgear/props/props_io.cxx
simgear/props/props_io.hxx
simgear/props/props_test.cxx
simgear/scene/material/matmodel.hxx
simgear/scene/model/shadanim.cxx
simgear/scene/tgdb/TileEntry.cxx
simgear/sound/xmlsound.cxx
simgear/sound/xmlsound.hxx
simgear/structure/SGSmplhist.hxx