From 2d04d7cc559445d8c1559af6af6d981d9f682db4 Mon Sep 17 00:00:00 2001 From: Collabora Date: Thu, 15 Jul 2021 12:18:49 +0200 Subject: do not use "using namespace std" in headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- solenv/gcc-wrappers/wrapper.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'solenv/gcc-wrappers/wrapper.cxx') 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; -- cgit