From 2119fac35b7ceeef97faed5caaee29c3385bf54c Mon Sep 17 00:00:00 2001 From: Andrew Gasparovic <55992101+agasparovic-sabre@users.noreply.github.com> Date: Wed, 8 Apr 2020 14:12:00 -0700 Subject: [PATCH] compiler: Remove unused function (#6911) --- compiler/src/java_plugin/cpp/java_generator.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compiler/src/java_plugin/cpp/java_generator.cpp b/compiler/src/java_plugin/cpp/java_generator.cpp index db914ce12e..695ef8581b 100644 --- a/compiler/src/java_plugin/cpp/java_generator.cpp +++ b/compiler/src/java_plugin/cpp/java_generator.cpp @@ -161,10 +161,6 @@ static inline std::string MethodIdFieldName(const MethodDescriptor* method) { return "METHODID_" + ToAllUpperCase(method->name()); } -static inline bool ShouldGenerateAsLite(const Descriptor* desc) { - return false; -} - static inline std::string MessageFullJavaName(const Descriptor* desc) { return google::protobuf::compiler::java::ClassName(desc); }