diff dsp/segmentation/Segmenter.h @ 493:bb78ca3fe7de

Remove "using" from some headers
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 31 May 2019 17:24:50 +0100
parents 701233f8ed41
children
line wrap: on
line diff
--- a/dsp/segmentation/Segmenter.h	Fri May 31 16:55:25 2019 +0100
+++ b/dsp/segmentation/Segmenter.h	Fri May 31 17:24:50 2019 +0100
@@ -20,9 +20,6 @@
 #include <vector>
 #include <iostream>
 
-using std::vector;
-using std::ostream;
-
 class Segment
 {
 public:
@@ -36,10 +33,10 @@
 public:
     int nsegtypes;          // number of segment types, so possible types are {0,1,...,nsegtypes-1}
     int samplerate;
-    vector<Segment> segments;       
+    std::vector<Segment> segments;       
 };
 
-ostream& operator<<(ostream& os, const Segmentation& s);
+std::ostream& operator<<(std::ostream& os, const Segmentation& s);
 
 class Segmenter
 {
@@ -55,7 +52,7 @@
     virtual void clear() { features.clear(); }
     const Segmentation& getSegmentation() const { return segmentation; } 
 protected:
-    vector<vector<double> > features;
+    std::vector<std::vector<double> > features;
     Segmentation segmentation;
     int samplerate;
 };