Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
44de8697
Commit
44de8697
authored
Aug 08, 2019
by
Krystian Kuzniarek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove a dead metafunction
parent
6aba4a5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
gmock-internal-utils.h
googlemock/include/gmock/internal/gmock-internal-utils.h
+0
-13
No files found.
googlemock/include/gmock/internal/gmock-internal-utils.h
View file @
44de8697
...
@@ -367,19 +367,6 @@ template <typename T> struct type_equals<T, T> : public true_type {};
...
@@ -367,19 +367,6 @@ template <typename T> struct type_equals<T, T> : public true_type {};
template
<
typename
T
>
struct
remove_reference
{
typedef
T
type
;
};
// NOLINT
template
<
typename
T
>
struct
remove_reference
{
typedef
T
type
;
};
// NOLINT
template
<
typename
T
>
struct
remove_reference
<
T
&>
{
typedef
T
type
;
};
// NOLINT
template
<
typename
T
>
struct
remove_reference
<
T
&>
{
typedef
T
type
;
};
// NOLINT
// DecayArray<T>::type turns an array type U[N] to const U* and preserves
// other types. Useful for saving a copy of a function argument.
template
<
typename
T
>
struct
DecayArray
{
typedef
T
type
;
};
// NOLINT
template
<
typename
T
,
size_t
N
>
struct
DecayArray
<
T
[
N
]
>
{
typedef
const
T
*
type
;
};
// Sometimes people use arrays whose size is not available at the use site
// (e.g. extern const char kNamePrefix[]). This specialization covers that
// case.
template
<
typename
T
>
struct
DecayArray
<
T
[]
>
{
typedef
const
T
*
type
;
};
// Disable MSVC warnings for infinite recursion, since in this case the
// Disable MSVC warnings for infinite recursion, since in this case the
// the recursion is unreachable.
// the recursion is unreachable.
#ifdef _MSC_VER
#ifdef _MSC_VER
...
...
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