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
Branches
Tags
No related merge requests found
......@@ -296,11 +296,6 @@ public:
ConstStorageProvider<T>& operator=(const ConstStorageProvider<T>& other) = delete;
ConstStorageProvider<T>& operator=(ConstStorageProvider<T>&& source) = delete;
const T& storage_access() const
{
return access();
}
const T& access() const
{
assert(storage_);
......@@ -348,16 +343,6 @@ public:
StorageProvider<T>& operator=(const StorageProvider<T>& other) = delete;
StorageProvider<T>& operator=(StorageProvider<T>&& source) = delete;
T& storage_access()
{
return access();
}
const T& storage_access() const
{
return access();
}
T& access()
{
assert(storage_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment