1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 20:49:11 +00:00

(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)

This commit is contained in:
alberth
2010-10-30 17:51:07 +00:00
parent ca8d55ebcd
commit 7e48d85104
27 changed files with 46 additions and 44 deletions

View File

@@ -41,10 +41,10 @@
* which is good for performance (assuming that data are accessed most often).
* - sizeof(blob) is the same as the size of any other pointer
* 6. Drawbacks of this layout:
* - the fact, that pointer to the alocated block is adjusted by sizeof(BlobHeader) before
* - the fact that a pointer to the allocated block is adjusted by sizeof(BlobHeader) before
* it is stored can lead to several confusions:
* - it is not common pattern so the implementation code is bit harder to read
* - valgrind can generate warning that allocated block is lost (not accessible)
* - it is not a common pattern so the implementation code is bit harder to read.
* - valgrind may generate a warning that the allocated block is lost (not accessible).
*/
class ByteBlob {
protected: