[llvm-commits] [llvm] r137843 - /llvm/trunk/include/llvm/Support/DynamicLibrary.h

Jordy Rose jediknil at belkadan.com
Wed Aug 17 11:28:14 PDT 2011


Author: jrose
Date: Wed Aug 17 13:28:14 2011
New Revision: 137843

URL: http://llvm.org/viewvc/llvm-project?rev=137843&view=rev
Log:
...and make sure DynamicLibrary builds by removing "const" from the Invalid placeholder.

Modified:
    llvm/trunk/include/llvm/Support/DynamicLibrary.h

Modified: llvm/trunk/include/llvm/Support/DynamicLibrary.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/DynamicLibrary.h?rev=137843&r1=137842&r2=137843&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/DynamicLibrary.h (original)
+++ llvm/trunk/include/llvm/Support/DynamicLibrary.h Wed Aug 17 13:28:14 2011
@@ -35,7 +35,7 @@
     // Placeholder whose address represents an invalid library.
     // We use this instead of NULL or a pointer-int pair because the OS library
     // might define 0 or 1 to be "special" handles, such as "search all".
-    static const char Invalid;
+    static char Invalid;
 
     // Opaque data used to interface with OS-specific dynamic library handling.
     void *Data;





More information about the llvm-commits mailing list