From 0083c8fb9fb5dcdb51956ab1b01dbe1b128adbef Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 12 Jan 2023 19:19:41 +0100 Subject: [PATCH] Remove "using namespace" from header (part 2) --- libs/ardour/ardour/coreaudiosource.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/ardour/ardour/coreaudiosource.h b/libs/ardour/ardour/coreaudiosource.h index 9a8a77baf8..c75e226d98 100644 --- a/libs/ardour/ardour/coreaudiosource.h +++ b/libs/ardour/ardour/coreaudiosource.h @@ -30,14 +30,12 @@ #include "ardour/audiofilesource.h" #include -using namespace std; - namespace ARDOUR { class LIBARDOUR_API CoreAudioSource : public AudioFileSource { public: CoreAudioSource (ARDOUR::Session&, const XMLNode&); - CoreAudioSource (ARDOUR::Session&, const string& path, int chn, Flag); + CoreAudioSource (ARDOUR::Session&, const std::string& path, int chn, Flag); ~CoreAudioSource (); void set_path (const std::string& p); @@ -53,7 +51,7 @@ class LIBARDOUR_API CoreAudioSource : public AudioFileSource { void flush () {} - static int get_soundfile_info (string path, SoundFileInfo& _info, string& error_msg); + static int get_soundfile_info (std::string path, SoundFileInfo& _info, std::string& error_msg); protected: void close ();