Skip to content
This repository
Browse code

DVDAudioCodec(L)Pcm: Disable copying of the class.

  • Loading branch information...
commit 4e76df41d0323797d2f74200030f012963fb61b9 1 parent 95f0fa3
Alexis Ballier authored July 25, 2013
4  xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecLPcm.h
@@ -39,4 +39,8 @@ class CDVDAudioCodecLPcm : public CDVDAudioCodecPcm
39 39
   uint8_t *m_buffer;
40 40
 
41 41
   AVCodecID m_codecID;
  42
+
  43
+private:
  44
+  CDVDAudioCodecLPcm(const CDVDAudioCodecLPcm&);
  45
+  CDVDAudioCodecLPcm const& operator=(CDVDAudioCodecLPcm const&);
42 46
 };
4  xbmc/cores/dvdplayer/DVDCodecs/Audio/DVDAudioCodecPcm.h
@@ -53,4 +53,8 @@ class CDVDAudioCodecPcm : public CDVDAudioCodec
53 53
   int m_iOutputChannels;
54 54
 
55 55
   short table[256];
  56
+
  57
+private:
  58
+  CDVDAudioCodecPcm(const CDVDAudioCodecPcm&);
  59
+  CDVDAudioCodecPcm const& operator=(CDVDAudioCodecPcm const&);
56 60
 };

0 notes on commit 4e76df4

Please sign in to comment.
Something went wrong with that request. Please try again.