diff options
author | Collabora <l.lunak@collabora.com> | 2021-07-15 12:18:49 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-07-23 10:32:08 +0200 |
commit | 2d04d7cc559445d8c1559af6af6d981d9f682db4 (patch) | |
tree | 8f9ed81590800f772f162f93473c654f4eefb468 /solenv/gcc-wrappers/wrapper.cxx | |
parent | a470d97f2ddcb3607ae9d1df871a59f04d823564 (diff) |
do not use "using namespace std" in headers
It's a bad style, doing that in headers can affect many source files
(especially with PCH used).
Change-Id: Ic9091a1d018e74606c9fa95df71a55faaa93d4ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119011
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'solenv/gcc-wrappers/wrapper.cxx')
-rw-r--r-- | solenv/gcc-wrappers/wrapper.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gcc-wrappers/wrapper.cxx b/solenv/gcc-wrappers/wrapper.cxx index 22a1b9488212..a03b1dddee90 100644 --- a/solenv/gcc-wrappers/wrapper.cxx +++ b/solenv/gcc-wrappers/wrapper.cxx @@ -15,6 +15,8 @@ #define BUFLEN 2048 +using namespace std; + string getexe(string exename, bool maybeempty) { char* cmdbuf; size_t cmdlen; |