summaryrefslogtreecommitdiff
path: root/include/llvm/Support/ManagedStatic.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-05-15 00:01:40 +0000
committerOwen Anderson <resistor@mac.com>2009-05-15 00:01:40 +0000
commit5f00b0c5b63c30c7ad6134543318551902de5c93 (patch)
treeb24aba55b64bc1cd91987d4e42b57bd66030dc0e /include/llvm/Support/ManagedStatic.h
parent9bea7c85d71bbb192f686a56e9b5bf32ae3389e6 (diff)
downloadllvm-5f00b0c5b63c30c7ad6134543318551902de5c93.tar.gz
llvm-5f00b0c5b63c30c7ad6134543318551902de5c93.tar.bz2
llvm-5f00b0c5b63c30c7ad6134543318551902de5c93.tar.xz
Now with working on Leopard!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ManagedStatic.h')
-rw-r--r--include/llvm/Support/ManagedStatic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/ManagedStatic.h b/include/llvm/Support/ManagedStatic.h
index 4c1271cec7..e6384c7213 100644
--- a/include/llvm/Support/ManagedStatic.h
+++ b/include/llvm/Support/ManagedStatic.h
@@ -28,7 +28,7 @@ void object_deleter(void *Ptr) {
/// ManagedStaticBase - Common base class for ManagedStatic instances.
class ManagedStaticBase {
protected:
- sys::cas_flag InitFlag;
+ mutable sys::cas_flag InitFlag;
// This should only be used as a static variable, which guarantees that this
// will be zero initialized.