aboutsummaryrefslogtreecommitdiff
path: root/odb/details/win32/tls.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/win32/tls.hxx')
-rw-r--r--odb/details/win32/tls.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/odb/details/win32/tls.hxx b/odb/details/win32/tls.hxx
index b1dce0f..3354723 100644
--- a/odb/details/win32/tls.hxx
+++ b/odb/details/win32/tls.hxx
@@ -39,6 +39,9 @@ namespace odb
T&
get () const;
+ void
+ free ();
+
private:
tls (const tls&);
tls& operator= (const tls&);
@@ -88,6 +91,13 @@ namespace odb
}
template <typename T>
+ inline void
+ tls_free (tls<T>& t)
+ {
+ t.free ();
+ }
+
+ template <typename T>
inline T*
tls_get (const tls<T*>& t)
{