0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 16:51:22 +08:00

update #42: linux build

This commit is contained in:
Sergey Yagovtsev 2017-06-06 23:52:18 +03:00
parent 4a9daf3bb4
commit b14dbef78d

View File

@ -63,13 +63,15 @@ namespace profiler {
///< Run-time block name is stored right after main BaseBlockData data
inline const char* name() const { return data() + sizeof(BaseBlockData); }
private:
protected:
SerializedBlock(const ::profiler::Block& block, uint16_t name_length);
SerializedBlock(const SerializedBlock&) = delete;
SerializedBlock& operator = (const SerializedBlock&) = delete;
~SerializedBlock() = delete;
//TODO yse: reason of deleted
//~SerializedBlock() = delete;
protected: