diff options
author | mcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-03-30 09:42:31 +0000 |
---|---|---|
committer | mcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-03-30 09:42:31 +0000 |
commit | a8feb21c0ba008c25694aeee12bee546529243f0 (patch) | |
tree | 1f070ddfdacf033876b1f707c143586a457d2db5 /ACE/tests/Map_Test.h | |
parent | c6a1f1b937c077cc3d2106c0b2836037d6d20975 (diff) | |
download | ATCD-a8feb21c0ba008c25694aeee12bee546529243f0.tar.gz |
ChangelogTag: Sat Mar 30 09:30:10 UTC 2013 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'ACE/tests/Map_Test.h')
-rw-r--r-- | ACE/tests/Map_Test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/Map_Test.h b/ACE/tests/Map_Test.h index 39b4db9b682..276f5ab6325 100644 --- a/ACE/tests/Map_Test.h +++ b/ACE/tests/Map_Test.h @@ -53,7 +53,7 @@ public: size_t original_size = key.size (); // Size of this counter key. - size_t counter_key_size = sizeof this->counter_; + const size_t counter_key_size = sizeof this->counter_; // Resize to accommodate both the original data and the new key. key.size (counter_key_size + original_size); @@ -61,7 +61,7 @@ public: // Add new key data. ACE_OS::memcpy (&key[original_size], &++this->counter_, - sizeof this->counter_); + counter_key_size); // Success. return 0; |