aboutsummaryrefslogtreecommitdiffstats
path: root/include/gtest/internal/gtest-internal.h
diff options
context:
space:
mode:
authorkosak <kosak@google.com>2013-12-03 01:36:29 +0000
committerkosak <kosak@google.com>2013-12-03 01:36:29 +0000
commitaa34ae250800af7e98499abba44636503cf99b16 (patch)
treede1e7b5970a224c44b6a08739cdf8193ce3b6e27 /include/gtest/internal/gtest-internal.h
parent2d3543f81d6d4583332f8b60768ade18e0f96220 (diff)
downloadgoogletest-aa34ae250800af7e98499abba44636503cf99b16.tar.gz
googletest-aa34ae250800af7e98499abba44636503cf99b16.tar.bz2
googletest-aa34ae250800af7e98499abba44636503cf99b16.zip
Delete whitespace, and change the return type of ImplicitlyConvertible::MakeFrom() to From&.
Diffstat (limited to 'include/gtest/internal/gtest-internal.h')
-rw-r--r--include/gtest/internal/gtest-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gtest/internal/gtest-internal.h b/include/gtest/internal/gtest-internal.h
index 0dcc3a31..f58f65f6 100644
--- a/include/gtest/internal/gtest-internal.h
+++ b/include/gtest/internal/gtest-internal.h
@@ -784,7 +784,7 @@ class ImplicitlyConvertible {
// MakeFrom() is an expression whose type is From. We cannot simply
// use From(), as the type From may not have a public default
// constructor.
- static From MakeFrom();
+ static typename AddReference<From>::type MakeFrom();
// These two functions are overloaded. Given an expression
// Helper(x), the compiler will pick the first version if x can be