summaryrefslogtreecommitdiff
path: root/src/cstore/unionfs/cstore-unionfs.hpp
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-03-01 16:55:34 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2011-03-01 16:55:34 -0800
commit0acc2454cacb3ccab512b41b96cbaa024ebb0117 (patch)
tree9c84c96681fd13c2ffd96eb92da09884058c3fa0 /src/cstore/unionfs/cstore-unionfs.hpp
parentcf5c5f6a492bb92b25aeb880e46e9df2560a4c2e (diff)
downloadvyatta-cfg-0acc2454cacb3ccab512b41b96cbaa024ebb0117.tar.gz
vyatta-cfg-0acc2454cacb3ccab512b41b96cbaa024ebb0117.zip
tweak map iterator usage
Diffstat (limited to 'src/cstore/unionfs/cstore-unionfs.hpp')
-rw-r--r--src/cstore/unionfs/cstore-unionfs.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.hpp b/src/cstore/unionfs/cstore-unionfs.hpp
index 82bda2a..47bfe26 100644
--- a/src/cstore/unionfs/cstore-unionfs.hpp
+++ b/src/cstore/unionfs/cstore-unionfs.hpp
@@ -136,7 +136,7 @@ private:
if (it == saved_paths.end()) {
exit_internal("restore_paths: handle not found\n");
}
- pair<b_fs::path, b_fs::path> p = saved_paths[handle];
+ pair<b_fs::path, b_fs::path> p = it->second;
mutable_cfg_path = p.first;
tmpl_path = p.second;
};