Remove "using namespace" from header

This commit is contained in:
Robin Gareus 2023-01-12 19:01:48 +01:00
parent 6407ca51cd
commit 3a6f822381
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 3 additions and 4 deletions

View File

@ -23,13 +23,11 @@
#include "ardour/mp3fileimportable.h"
#include <string>
using namespace std;
namespace ARDOUR {
class LIBARDOUR_API Mp3FileSource : public AudioFileSource {
public:
Mp3FileSource (ARDOUR::Session&, const string& path, int chn, Flag);
Mp3FileSource (ARDOUR::Session&, const std::string& path, int chn, Flag);
~Mp3FileSource ();
/* AudioSource API */
@ -42,7 +40,7 @@ public:
int flush_header () { return 0; }
void set_header_natural_position () {};
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:
/* FileSource API */

View File

@ -22,6 +22,7 @@
#include "pbd/i18n.h"
using namespace std;
using namespace ARDOUR;
using namespace PBD;