From 9c1c31ff165fceb76a0ec50cd7097038264c6908 Mon Sep 17 00:00:00 2001 From: "xiaofeng@google.com" Date: Fri, 30 Nov 2012 16:29:03 +0000 Subject: Fix compile issues under GCC 3.4.6 --- src/google/protobuf/stubs/common.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/google/protobuf/stubs/common.h') diff --git a/src/google/protobuf/stubs/common.h b/src/google/protobuf/stubs/common.h index 07ae5307..66b91291 100644 --- a/src/google/protobuf/stubs/common.h +++ b/src/google/protobuf/stubs/common.h @@ -341,12 +341,6 @@ inline To down_cast(From* f) { // so we only accept pointers return static_cast(f); } -// Simplified down_cast for reference type. -template -inline To down_cast(From& f) { - return static_cast(f); -} - } // namespace internal // We made these internal so that they would show up as such in the docs, -- cgit v1.2.3