Avoid a "using namespace"

This commit is contained in:
Chris Cannam
2021-04-14 19:14:32 +01:00
parent 83167aa448
commit cc937ebe65

View File

@@ -23,7 +23,6 @@
#include "StretcherImpl.h" #include "StretcherImpl.h"
using namespace std;
namespace RubberBand { namespace RubberBand {
@@ -122,7 +121,7 @@ RubberBandStretcher::setMaxProcessSize(size_t samples)
} }
void void
RubberBandStretcher::setKeyFrameMap(const map<size_t, size_t> &mapping) RubberBandStretcher::setKeyFrameMap(const std::map<size_t, size_t> &mapping)
{ {
m_d->setKeyFrameMap(mapping); m_d->setKeyFrameMap(mapping);
} }
@@ -177,19 +176,19 @@ RubberBandStretcher::getInputIncrement() const
return m_d->getInputIncrement(); return m_d->getInputIncrement();
} }
vector<int> std::vector<int>
RubberBandStretcher::getOutputIncrements() const RubberBandStretcher::getOutputIncrements() const
{ {
return m_d->getOutputIncrements(); return m_d->getOutputIncrements();
} }
vector<float> std::vector<float>
RubberBandStretcher::getPhaseResetCurve() const RubberBandStretcher::getPhaseResetCurve() const
{ {
return m_d->getPhaseResetCurve(); return m_d->getPhaseResetCurve();
} }
vector<int> std::vector<int>
RubberBandStretcher::getExactTimePoints() const RubberBandStretcher::getExactTimePoints() const
{ {
return m_d->getExactTimePoints(); return m_d->getExactTimePoints();