fix spelling mistakes

This commit is contained in:
Eric Engestrom 2016-04-03 01:17:13 +01:00
parent a42533eca1
commit 6a6d6dda95
7 changed files with 10 additions and 10 deletions

View file

@ -92,7 +92,7 @@ public:
case EPrefixInternalError: append("INTERNAL ERROR: "); break;
case EPrefixUnimplemented: append("UNIMPLEMENTED: "); break;
case EPrefixNote: append("NOTE: "); break;
default: append("UNKOWN ERROR: "); break;
default: append("UNKNOWN ERROR: "); break;
}
}
void location(const TSourceLoc& loc) {

View file

@ -95,7 +95,7 @@ public:
void checkAllocList() const;
// Return total size needed to accomodate user buffer of 'size',
// Return total size needed to accommodate user buffer of 'size',
// plus our tracking data.
inline static size_t allocationSize(size_t size) {
return size + 2 * guardBlockSize + headerSize();
@ -241,8 +241,8 @@ protected:
int numCalls; // just an interesting statistic
size_t totalBytes; // just an interesting statistic
private:
TPoolAllocator& operator=(const TPoolAllocator&); // dont allow assignment operator
TPoolAllocator(const TPoolAllocator&); // dont allow default copy constructor
TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator
TPoolAllocator(const TPoolAllocator&); // don't allow default copy constructor
};