Minor cleanup.

This commit is contained in:
Axel Dörfler
2012-03-31 10:36:36 +02:00
parent ce17af69dc
commit a300055ed7
@@ -39,6 +39,7 @@
#if BFS_TRACING && !defined(BFS_SHELL)
namespace BFSBlockTracing {
class Allocate : public AbstractTraceEntry {
public:
Allocate(block_run run)
@@ -57,9 +58,10 @@ public:
const block_run& Run() const { return fRun; }
private:
block_run fRun;
block_run fRun;
};
class Free : public AbstractTraceEntry {
public:
Free(block_run run)
@@ -78,7 +80,7 @@ public:
const block_run& Run() const { return fRun; }
private:
block_run fRun;
block_run fRun;
};
@@ -118,12 +120,12 @@ public:
}
private:
off_t fBlock;
const uint8 *fData;
uint32 fStart;
uint32 fLength;
uint32 fSum;
const char* fLabel;
off_t fBlock;
const uint8* fData;
uint32 fStart;
uint32 fLength;
uint32 fSum;
const char* fLabel;
};
@@ -146,12 +148,13 @@ public:
}
private:
int32 fBlock;
uint32 fOldData;
uint32 fNewData;
const char* fLabel;
int32 fBlock;
uint32 fOldData;
uint32 fNewData;
const char* fLabel;
};
} // namespace BFSBlockTracing
# define T(x) new(std::nothrow) BFSBlockTracing::x;