SL-11231 Unused code and wrong macro

master
andreykproductengine 2019-05-28 19:16:34 +03:00
parent 562fe5bf63
commit 902bfccd02
1 changed files with 3 additions and 7 deletions

View File

@ -199,14 +199,10 @@ private:
friend BlockTimer timeThisBlock(BlockTimerStatHandle&);
BlockTimer(BlockTimerStatHandle& timer);
#if !defined(MSC_VER) || MSC_VER < 1700
// Visual Studio 2010 has a bug where capturing an object returned by value
// into a local reference requires access to the copy constructor at the call site.
// This appears to be fixed in 2012.
public:
#endif
// no-copy
BlockTimer(const BlockTimer& other) {};
BlockTimer(const BlockTimer& other);
BlockTimer& operator=(const BlockTimer& other);
private:
U64 mStartTime;