summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkosak@google.com <kosak@google.com@861a406c-534a-0410-8894-cb66d6ee9925>2013-12-03 01:36:29 +0000
committerkosak@google.com <kosak@google.com@861a406c-534a-0410-8894-cb66d6ee9925>2013-12-03 01:36:29 +0000
commitbc830d325d07a8a943386446139be3ab3565e038 (patch)
treede1e7b5970a224c44b6a08739cdf8193ce3b6e27 /include
parentbe1b3b66822cc3929f3da700973cef88bf45849a (diff)
downloadgtest-bc830d325d07a8a943386446139be3ab3565e038.tar.gz
gtest-bc830d325d07a8a943386446139be3ab3565e038.tar.bz2
gtest-bc830d325d07a8a943386446139be3ab3565e038.tar.xz
Delete whitespace, and change the return type of ImplicitlyConvertible::MakeFrom() to From&.
git-svn-id: http://googletest.googlecode.com/svn/trunk@668 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'include')
-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 0dcc3a3..f58f65f 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