Add static version of map wrappers and corresponding serializers.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@714 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -46,6 +46,8 @@
|
||||
|
||||
namespace google_breakpad {
|
||||
|
||||
// Forward declarations (for later friend declarations of specialized template).
|
||||
template<class, class> class RangeMapSerializer;
|
||||
|
||||
template<typename AddressType, typename EntryType>
|
||||
class RangeMap {
|
||||
@@ -93,6 +95,9 @@ class RangeMap {
|
||||
void Clear();
|
||||
|
||||
private:
|
||||
// Friend declarations.
|
||||
friend class RangeMapSerializer<AddressType, EntryType>;
|
||||
|
||||
class Range {
|
||||
public:
|
||||
Range(const AddressType &base, const EntryType &entry)
|
||||
|
||||
Reference in New Issue
Block a user