From 92a0a5e12f96a7eb1ea8fb121bcee30ed973e9cd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 29 Sep 2010 11:39:34 +0200 Subject: Initialize canceled flag in ctor --- cutl/fs/auto-remove.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cutl/fs') diff --git a/cutl/fs/auto-remove.hxx b/cutl/fs/auto-remove.hxx index c30a630..6f4db37 100644 --- a/cutl/fs/auto-remove.hxx +++ b/cutl/fs/auto-remove.hxx @@ -51,7 +51,7 @@ namespace cutl // struct LIBCUTL_EXPORT auto_removes { - auto_removes () {} + auto_removes (): canceled_ (false) {} ~auto_removes (); void -- cgit v1.1