Skip to content
This repository
Browse code

fix copy-constructor of Buffer, which fixes xbmcvfs.read() (fixes #14…

…183)
  • Loading branch information...
commit b063e1fd5748b516bc48dd43567b2213cb9d01a6 1 parent df33686
Sascha Montellese authored March 14, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/commons/Buffer.h
2  xbmc/commons/Buffer.h
@@ -126,7 +126,7 @@ namespace XbmcCommons
126 126
      * it's own indexing.
127 127
      */
128 128
     inline Buffer(const Buffer& buf) : bufferRef(buf.bufferRef), buffer(buf.buffer), 
129  
-      mposition(buf.mposition), mcapacity(buf.mcapacity), mlimit(mlimit) { }
  129
+      mposition(buf.mposition), mcapacity(buf.mcapacity), mlimit(buf.mlimit) { }
130 130
 
131 131
     inline ~Buffer() { }
132 132
 

1 note on commit b063e1f

Scott Johns

fixed, thanks

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