gtkradiant/contrib/bobtoolz
Thomas Debesse 8aeff6b09a Do not do using namespace std to avoid type conflict
The STL now defines `std::byte` so doing `using namespace std`
will conflict will custom definition of `byte`, which this
legacy code is full of.

It looks like NetRadiant went the route of making explicit
usage of `std::` prefixed types and did not renamed the
custom definition of byte, so doing the same reduces diff
noise between the two trees.

This also makes the code future proof if the STL decides
to define some other types with common name.

This patches replaces all usages of `map`, `pair` and
`vector` with `std::map`, `std::pair` and `std::vector`
and remove the `using namespace std` line in `stl_check.h`.

```
libs/mathlib.h:132:44: error: reference to ‘byte’ is ambiguous
  132 | void NormalToLatLong( const vec3_t normal, byte bytes[2] );
      |                                            ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
                 from /usr/include/c++/11/bits/char_traits.h:39,
                 from /usr/include/c++/11/ios:40,
                 from /usr/include/c++/11/ostream:38,
                 from /usr/include/c++/11/iostream:39,
                 from libs/missing.h:76,
                 from radiant/qe3.h:40,
                 from radiant/stdafx.h:39,
                 from radiant/bp_dlg.cpp:28:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’
  404 |   enum class byte : unsigned char;
      |                              ^~~~
```
2022-07-14 17:18:51 +02:00
..
bt ABToSVK commit 2008-08-24 03:20:51 +00:00
dialogs Extra gtk_box_set_homogeneous function calls 2017-05-16 00:34:04 +02:00
interfaces add license info on a few things 2012-06-04 23:42:31 -05:00
res transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
txt ABToSVK commit 2008-08-24 03:20:51 +00:00
bobToolz-GTK.cpp Make menus more consistent with ellipses 2017-05-10 23:26:29 +02:00
bobtoolz-gtk.rc transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
bobtoolz.def Fixing Linux SCons build. 2011-02-22 04:48:05 +00:00
bobToolz.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
bobToolz.rc transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
bobtoolz.vcxproj Disable the deprecated functions warning 2018-01-21 14:59:29 -06:00
bobtoolz.vcxproj.filters convert projects to msvc 2012 2013-05-23 20:44:41 -05:00
bsploader.cpp add license info on a few things 2012-06-04 23:42:31 -05:00
bsploader.h add license info on a few things 2012-06-04 23:42:31 -05:00
cportals.cpp Using Sys_FPrintf with SYS_WRN and SYS_ERR 2016-05-16 21:20:20 +02:00
CPortals.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
ctfresource_gtk.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
ctfresource_gtk.rc transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
ctfToolz-GTK.cpp uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
ctftoolz.def eol 2007-11-04 04:09:22 +00:00
DBobView.cpp uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DBobView.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DBrush.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DBrush.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DEntity.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DEntity.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DEPair.cpp uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DEPair.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DListener.cpp uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DListener.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DMap.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DMap.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DPatch.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DPatch.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DPlane.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DPlane.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DPoint.cpp uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DPoint.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DShape.cpp uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DShape.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DTrainDrawer.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DTrainDrawer.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DTreePlanter.cpp uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DTreePlanter.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DVisDrawer.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DVisDrawer.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
DWinding.cpp uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
DWinding.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
funchandlers-ctf-GTK.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
funchandlers-GTK.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
funchandlers.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
funchandlers.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
lists.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
lists.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
misc.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
misc.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
resource-gtk.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
resource.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
ScriptParser.cpp add license info on a few things 2012-06-04 23:42:31 -05:00
ScriptParser.h add license info on a few things 2012-06-04 23:42:31 -05:00
shapes.cpp Yet another char cast fix. 2013-07-07 10:16:11 -04:00
shapes.h uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
StdAfx.cpp uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
StdAfx.h preproc: add a FreeBSD condition everytime there is Linux or MacOS 2017-08-30 14:20:01 +00:00
visfind.cpp Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00
visfind.h Do not do using namespace std to avoid type conflict 2022-07-14 17:18:51 +02:00