Use error_code() instead of error_code::succes()
[oota-llvm.git] / lib / ExecutionEngine / MCJIT / SectionMemoryManager.cpp
index 9ceaa90b0dc31f2704de19c86e7369f1ef92db27..1b7d386adc760057f2e5d8933d0976a71374d76d 100644 (file)
@@ -155,7 +155,7 @@ error_code SectionMemoryManager::applyMemoryGroupPermissions(MemoryGroup &MemGro
       }
   }
 
-  return error_code::success();
+  return error_code();
 }
 
 void SectionMemoryManager::invalidateInstructionCache() {