diff options
author | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-05-29 16:16:08 +0000 |
---|---|---|
committer | schnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f> | 2005-05-29 16:16:08 +0000 |
commit | f8fedd5ec017e3ad6d00e9845f0631e2cb64e2cf (patch) | |
tree | c99f154c6ea3f9c32819629ac0c9462d10b08087 /src/multistorage.cc | |
parent | 96b573a7387d33431149feeebc9253dbfeafad0d (diff) |
Correct error in handling boolean values; they were still treated as
integers in some places
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@25 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/multistorage.cc')
-rw-r--r-- | src/multistorage.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/multistorage.cc b/src/multistorage.cc index 6521d3c..374b667 100644 --- a/src/multistorage.cc +++ b/src/multistorage.cc @@ -44,6 +44,20 @@ num_storages () void multistorage:: +store (char const * const key, bool const value) + const +{ + for (list<storage *>::const_iterator it = stores.begin(); + it != stores.end(); + ++ it) + { + (* it)->store (key, value); + } +} + + + +void multistorage:: store (char const * const key, int const value) const { |