Fix struct/class mismatch for LTOModule and LTOCodeGenerator, detected by Clang
[oota-llvm.git] / tools / lto / LTOCodeGenerator.h
index 0ebec2ca8b0f5376d6e53ec19839d12bfada75eb..2dd3f6565775899b93173d51c453f9c908115bc1 100644 (file)
@@ -27,8 +27,7 @@
 // C++ class which implements the opaque lto_code_gen_t
 //
 
-class LTOCodeGenerator {
-public:
+struct LTOCodeGenerator {
     static const char*        getVersionString();
     
                             LTOCodeGenerator();