diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-16 16:31:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-16 16:31:29 +0200 |
commit | e3dafcdf8b43880c6a1e0451c8ee621f7c3cb954 (patch) | |
tree | ab90ae868337a1c286ab9334c83e890cd0614686 /odb/session.ixx | |
parent | d2c1f5f1a3063553483d09dec261efa44c6bc9bf (diff) |
Make session cache management functions static, add notifications
Diffstat (limited to 'odb/session.ixx')
-rw-r--r-- | odb/session.ixx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/session.ixx b/odb/session.ixx index 50a2ca1..4748cae 100644 --- a/odb/session.ixx +++ b/odb/session.ixx @@ -12,6 +12,7 @@ namespace odb { // @@ Empty maps are not cleaned up by this version of erase. // - p.map_->erase (p.pos_); + if (p.map_ != 0) + p.map_->erase (p.pos_); } } |