Skip to content

Commit

Permalink
MMCore: Work around a VC++ <= 2012 bug
Browse files Browse the repository at this point in the history
git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@16288 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
  • Loading branch information
mark committed Jan 30, 2017
1 parent 8957ee6 commit f5f2925
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion MMCore/FrameBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ class FrameBuffer
unsigned Depth() const {return depth_;}

private:
FrameBuffer& operator=(const FrameBuffer&);
// The following line should be uncommented once we upgrade to
// VC++ >= 2013. (Or operator= should be declared deleted, C++11-style.)
// For the description of the standard library bug necessitating this
// workaround, see http://stackoverflow.com/a/25423089
// FrameBuffer& operator=(const FrameBuffer&);

private:
ImgBuffer* InsertNewImage(unsigned channel);
Expand Down

0 comments on commit f5f2925

Please sign in to comment.