Skip to content
Snippets Groups Projects
Commit 902bfccd authored by andreykproductengine's avatar andreykproductengine
Browse files

SL-11231 Unused code and wrong macro

parent 562fe5bf
No related branches found
No related tags found
No related merge requests found
...@@ -199,14 +199,10 @@ class BlockTimer ...@@ -199,14 +199,10 @@ class BlockTimer
friend BlockTimer timeThisBlock(BlockTimerStatHandle&); friend BlockTimer timeThisBlock(BlockTimerStatHandle&);
BlockTimer(BlockTimerStatHandle& timer); 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 // no-copy
BlockTimer(const BlockTimer& other) {}; BlockTimer(const BlockTimer& other);
BlockTimer& operator=(const BlockTimer& other);
private: private:
U64 mStartTime; U64 mStartTime;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment