Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
481fe944
Commit
481fe944
authored
Jan 10, 2018
by
Gennadiy Civil
Browse files
More merge, cleanup
parent
84aa4594
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
googletest/include/gtest/gtest-message.h
googletest/include/gtest/gtest-message.h
+1
-2
googletest/src/gtest-filepath.cc
googletest/src/gtest-filepath.cc
+4
-6
No files found.
googletest/include/gtest/gtest-message.h
View file @
481fe944
...
@@ -113,7 +113,7 @@ class GTEST_API_ Message {
...
@@ -113,7 +113,7 @@ class GTEST_API_ Message {
// Streams a non-pointer value to this object.
// Streams a non-pointer value to this object.
template
<
typename
T
>
template
<
typename
T
>
inline
Message
&
operator
<<
(
const
T
&
val
)
{
inline
Message
&
operator
<<
(
const
T
&
val
)
{
// Some libraries overload << for STL containers. These
// Some libraries overload
s
<< for STL containers. These
// overloads are defined in the global namespace instead of ::std.
// overloads are defined in the global namespace instead of ::std.
//
//
// C++'s symbol lookup rule (i.e. Koenig lookup) says that these
// C++'s symbol lookup rule (i.e. Koenig lookup) says that these
...
@@ -196,7 +196,6 @@ class GTEST_API_ Message {
...
@@ -196,7 +196,6 @@ class GTEST_API_ Message {
std
::
string
GetString
()
const
;
std
::
string
GetString
()
const
;
private:
private:
#if GTEST_OS_SYMBIAN
#if GTEST_OS_SYMBIAN
// These are needed as the Nokia Symbian Compiler cannot decide between
// These are needed as the Nokia Symbian Compiler cannot decide between
// const T& and const T* in a function template. The Nokia compiler _can_
// const T& and const T* in a function template. The Nokia compiler _can_
...
...
googletest/src/gtest-filepath.cc
View file @
481fe944
...
@@ -26,14 +26,12 @@
...
@@ -26,14 +26,12 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Authors: keith.ray@gmail.com (Keith Ray)
#include "gtest/gtest-message.h"
#include "gtest/internal/gtest-filepath.h"
#include "gtest/internal/gtest-filepath.h"
#include "gtest/internal/gtest-port.h"
#include <stdlib.h>
#include <stdlib.h>
#include "gtest/internal/gtest-port.h"
#include "gtest/gtest-message.h"
#if GTEST_OS_WINDOWS_MOBILE
#if GTEST_OS_WINDOWS_MOBILE
# include <windows.h>
# include <windows.h>
...
@@ -48,6 +46,8 @@
...
@@ -48,6 +46,8 @@
# include <climits> // Some Linux distributions define PATH_MAX here.
# include <climits> // Some Linux distributions define PATH_MAX here.
#endif // GTEST_OS_WINDOWS_MOBILE
#endif // GTEST_OS_WINDOWS_MOBILE
#include "gtest/internal/gtest-string.h"
#if GTEST_OS_WINDOWS
#if GTEST_OS_WINDOWS
# define GTEST_PATH_MAX_ _MAX_PATH
# define GTEST_PATH_MAX_ _MAX_PATH
#elif defined(PATH_MAX)
#elif defined(PATH_MAX)
...
@@ -58,8 +58,6 @@
...
@@ -58,8 +58,6 @@
# define GTEST_PATH_MAX_ _POSIX_PATH_MAX
# define GTEST_PATH_MAX_ _POSIX_PATH_MAX
#endif // GTEST_OS_WINDOWS
#endif // GTEST_OS_WINDOWS
#include "gtest/internal/gtest-string.h"
namespace
testing
{
namespace
testing
{
namespace
internal
{
namespace
internal
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment