From: Eli Friedman Date: Thu, 21 Aug 2008 04:28:31 +0000 (+0000) Subject: Remove size_t operator; this unbreaks the build on Linux. Committing on X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=afc802dc7d963a2cb46f1b0c1f1b0faa5e1dca2a;p=oota-llvm.git 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 --- 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)); }