diff options
author | Matthew Newhook <matthew@zeroc.com> | 2001-12-04 14:39:42 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2001-12-04 14:39:42 +0000 |
commit | 7170044b33ebe70e10fa334de999aabdaaf22a17 (patch) | |
tree | 906efe1c2d2b1ff1e0558c40e15fdf58f1a912e8 /cpp | |
parent | Minor source code reformat. (diff) | |
download | ice-7170044b33ebe70e10fa334de999aabdaaf22a17.tar.bz2 ice-7170044b33ebe70e10fa334de999aabdaaf22a17.tar.xz ice-7170044b33ebe70e10fa334de999aabdaaf22a17.zip |
Remove dependence from berkeley db from FreezeMap.h.
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/include/Freeze/FreezeMap.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cpp/include/Freeze/FreezeMap.h b/cpp/include/Freeze/FreezeMap.h index c503d9f03c1..ea34c70b4b4 100644 --- a/cpp/include/Freeze/FreezeMap.h +++ b/cpp/include/Freeze/FreezeMap.h @@ -16,8 +16,6 @@ #include <Ice/BasicStream.h> #include <Ice/Initialize.h> -#include <db.h> - #include <iterator> namespace Freeze @@ -191,7 +189,7 @@ class DbIterator : public DbIteratorBase { public: - typedef u_int32_t difference_type; + typedef ptrdiff_t difference_type; // // NOTE: @@ -356,7 +354,7 @@ class ConstDbIterator : public DbIteratorBase { public: - typedef u_int32_t difference_type; + typedef ptrdiff_t difference_type; // // NOTE: @@ -566,8 +564,8 @@ public: typedef std::pair<const key_type&, mapped_type>* pointer; typedef const std::pair<const key_type&, mapped_type>* const_pointer; - typedef u_int32_t size_type; - typedef u_int32_t difference_type; + typedef size_t size_type; + typedef ptrdiff_t difference_type; // // Special type similar to DbIterator::value_type_reference |