From afc802dc7d963a2cb46f1b0c1f1b0faa5e1dca2a Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Thu, 21 Aug 2008 04:28:31 +0000 Subject: [PATCH] Remove size_t operator; this unbreaks the build on Linux. Committing on the suggestion of resistor. If this breaks some other platform, please go ahead and back this out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55106 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/raw_ostream.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index 8019e44e35b..7e33cc78b18 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -112,11 +112,7 @@ public: raw_ostream &operator<<(int32_t N) { return this->operator<<(static_cast(N)); } - - raw_ostream &operator<<(size_t N) { - return this->operator<<(static_cast(N)); - } - + raw_ostream &operator<<(double N) { return this->operator<<(ftostr(N)); } -- 2.34.1