summaryrefslogtreecommitdiff
path: root/src/storage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage.cpp')
-rw-r--r--src/storage.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/storage.cpp b/src/storage.cpp
index adea90e6..d2a875b1 100644
--- a/src/storage.cpp
+++ b/src/storage.cpp
@@ -71,11 +71,6 @@ Storage::instance(const std::string& name)
mName = name;
}
- // check that the instance has been created.
- if (mInstance == 0) {
- throw std::bad_alloc();
- }
-
return (*mInstance);
}