aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util/Private.hpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 17:27:16 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 17:27:16 +0100
commitb8194e02679dc88f5c0a240da83a4700ec5200cf (patch)
tree216e2e28793fce2d468b23fa9b5d2a17db32012b /src/crepe/util/Private.hpp
parent9eff2e24fa4cf0ffad2b47cc922a6558bc1a9fa1 (diff)
add doxygen comments + clean up
Diffstat (limited to 'src/crepe/util/Private.hpp')
-rw-r--r--src/crepe/util/Private.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/util/Private.hpp b/src/crepe/util/Private.hpp
index 3a87a9f..b2174c0 100644
--- a/src/crepe/util/Private.hpp
+++ b/src/crepe/util/Private.hpp
@@ -18,7 +18,7 @@ T & Private::set(Args &&... args) {
}
template <typename T>
-T & Private::get() {
+T & Private::get() const {
using namespace std;
if (this->empty()) throw out_of_range("Private: get() called on empty object");
type_index requested_type = typeid(T);