Reformat and cleanup RefFile streaming code
commit6e44a8881e74ed9c40b62e39c6abf0e35f551ae7
authorMarco Costalba <mcostalba@gmail.com>
Sun, 9 Dec 2007 10:06:15 +0000 (9 11:06 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 9 Dec 2007 10:06:15 +0000 (9 11:06 +0100)
treeae6335ecb6da22ea3ddb6ab7a0af37b6f68efdc2
parent731bad0a1167cc4db6b6e9d1041f954cabac8f25
Reformat and cleanup RefFile streaming code

Introduce RevFile::operator>>() and RevFile::operator<<()
to be used by cache file saving/loading.

No functional change by now, just a code reshuffle that
will help with the next patch and in any case is cleaner too.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/cache.cpp
src/common.h