aboutsummaryrefslogtreecommitdiff
path: root/odb/details/tls.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/tls.hxx')
-rw-r--r--odb/details/tls.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/details/tls.hxx b/odb/details/tls.hxx
index d2627be..2ed68ab 100644
--- a/odb/details/tls.hxx
+++ b/odb/details/tls.hxx
@@ -26,6 +26,15 @@ namespace odb
return x;
}
+ // If early destructions is possible, destroy the object and free
+ // any allocated resources.
+ //
+ template <typename T>
+ inline void
+ tls_free (T& x)
+ {
+ }
+
template <typename T>
inline T*
tls_get (T* p)