summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
Diffstat (limited to 'raul')
-rw-r--r--raul/ThreadVar.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/ThreadVar.hpp b/raul/ThreadVar.hpp
index eb6b63e..fde3f81 100644
--- a/raul/ThreadVar.hpp
+++ b/raul/ThreadVar.hpp
@@ -49,7 +49,7 @@ public:
}
return *this;
}
-
+
operator T() const {
T* val = (T*)pthread_getspecific(_key);
return val ? *val : _default_value;