fix to not use absl

pull/10201/head
Matt Kulukundis 3 years ago
parent 3d3bd8d2fe
commit 1de4f31e90
  1. 5
      src/google/protobuf/compiler/objectivec/objectivec_enum.cc

@ -28,6 +28,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <algorithm>
#include <limits>
#include <map>
#include <string>
@ -35,7 +37,6 @@
#include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/stubs/strutil.h>
#include <algorithm> // std::find()
namespace google {
namespace protobuf {
@ -48,7 +49,7 @@ std::string SafelyPrintIntToCode(int v) {
// about the fact that +2147483648 cannot be represented as an int.
return "-2147483647 - 1";
} else {
return absl::StrCat(v);
return StrCat(v);
}
}
} // namespace

Loading…
Cancel
Save