aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-01 17:28:08 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-01 17:28:08 +0200
commit87840192ddf8001a630959fc53d1ad7c7e5ff30b (patch)
treee28ba4f2ae675955294e0a313ee9a4f687a8f329 /contrib/epee
parentMerge pull request #5308 (diff)
parentImplement array_entry_t copy constructor (diff)
downloadmonero-87840192ddf8001a630959fc53d1ad7c7e5ff30b.tar.xz
Merge pull request #5309
43042a28 Implement array_entry_t copy constructor (Guido Vranken)
Diffstat (limited to 'contrib/epee')
-rw-r--r--contrib/epee/include/storages/portable_storage_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/epee/include/storages/portable_storage_base.h b/contrib/epee/include/storages/portable_storage_base.h
index da84fd8ea..ca7c81ddc 100644
--- a/contrib/epee/include/storages/portable_storage_base.h
+++ b/contrib/epee/include/storages/portable_storage_base.h
@@ -82,6 +82,7 @@ namespace epee
struct array_entry_t
{
array_entry_t():m_it(m_array.end()){}
+ array_entry_t(const array_entry_t& other):m_array(other.m_array), m_it(m_array.end()){}
const t_entry_type* get_first_val() const
{