Disallow AudioBuffer copy construction.
authorCarl Hetherington <cth@carlh.net>
Sat, 20 Oct 2012 19:34:14 +0000 (20:34 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 20 Oct 2012 19:34:14 +0000 (20:34 +0100)
src/lib/util.h

index c98049f62f2b1ef88006d9652ce3b9c539aff1cf..a6d95b85d3f004ee46eb1c4abe0f1dd75dd87174 100644 (file)
@@ -222,6 +222,9 @@ public:
        void set_frames (int f);
 
 private:
+       /* no copy construction */
+       AudioBuffers (AudioBuffers const &);
+       
        int _channels;
        int _frames;
        float** _data;