summaryrefslogtreecommitdiff
path: root/boost/fiber/fss.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fiber/fss.hpp')
-rw-r--r--boost/fiber/fss.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/fiber/fss.hpp b/boost/fiber/fss.hpp
index a578d40a7f..f65d7353b3 100644
--- a/boost/fiber/fss.hpp
+++ b/boost/fiber/fss.hpp
@@ -58,9 +58,9 @@ public:
}
~fiber_specific_ptr() {
- context * f = context::active();
- if ( nullptr != f) {
- f->set_fss_data(
+ context * active_ctx = context::active();
+ if ( nullptr != active_ctx) {
+ active_ctx->set_fss_data(
this, cleanup_fn_, nullptr, true);
}
}