Skip to content
Snippets Groups Projects
Commit 072c5ac0 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[memory] drop `storage_access`

parent 757637b3
No related branches found
No related tags found
No related merge requests found
...@@ -296,11 +296,6 @@ public: ...@@ -296,11 +296,6 @@ public:
ConstStorageProvider<T>& operator=(const ConstStorageProvider<T>& other) = delete; ConstStorageProvider<T>& operator=(const ConstStorageProvider<T>& other) = delete;
ConstStorageProvider<T>& operator=(ConstStorageProvider<T>&& source) = delete; ConstStorageProvider<T>& operator=(ConstStorageProvider<T>&& source) = delete;
const T& storage_access() const
{
return access();
}
const T& access() const const T& access() const
{ {
assert(storage_); assert(storage_);
...@@ -348,16 +343,6 @@ public: ...@@ -348,16 +343,6 @@ public:
StorageProvider<T>& operator=(const StorageProvider<T>& other) = delete; StorageProvider<T>& operator=(const StorageProvider<T>& other) = delete;
StorageProvider<T>& operator=(StorageProvider<T>&& source) = delete; StorageProvider<T>& operator=(StorageProvider<T>&& source) = delete;
T& storage_access()
{
return access();
}
const T& storage_access() const
{
return access();
}
T& access() T& access()
{ {
assert(storage_); assert(storage_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment