Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
35e8c81d
Commit
35e8c81d
authored
11 years ago
by
Richard Linden
Browse files
Options
Downloads
Patches
Plain Diff
gcc build fix
parent
00bd492b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llcommon/llunittype.h
+12
-12
12 additions, 12 deletions
indra/llcommon/llunittype.h
with
12 additions
and
12 deletions
indra/llcommon/llunittype.h
+
12
−
12
View file @
35e8c81d
...
...
@@ -287,78 +287,78 @@ struct LLUnitImplicit : public LLUnit<STORAGE_TYPE, UNITS>
template
<
typename
OTHER_STORAGE_TYPE
,
typename
OTHER_UNITS
>
LL_FORCE_INLINE
bool
operator
==
(
LLUnitImplicit
<
OTHER_STORAGE_TYPE
,
OTHER_UNITS
>
other
)
const
{
return
mValue
==
convert
(
other
).
value
();
return
base_t
::
mValue
==
convert
(
other
).
value
();
}
template
<
typename
STORAGE_T
>
LL_FORCE_INLINE
bool
operator
==
(
STORAGE_T
other
)
const
{
return
mValue
==
other
;
return
base_t
::
mValue
==
other
;
}
using
base_t
::
operator
!=
;
template
<
typename
OTHER_STORAGE_TYPE
,
typename
OTHER_UNITS
>
LL_FORCE_INLINE
bool
operator
!=
(
LLUnitImplicit
<
OTHER_STORAGE_TYPE
,
OTHER_UNITS
>
other
)
const
{
return
mValue
!=
convert
(
other
).
value
();
return
base_t
::
mValue
!=
convert
(
other
).
value
();
}
template
<
typename
STORAGE_T
>
LL_FORCE_INLINE
bool
operator
!=
(
STORAGE_T
other
)
const
{
return
mValue
!=
other
;
return
base_t
::
mValue
!=
other
;
}
using
base_t
::
operator
<
;
template
<
typename
OTHER_STORAGE_TYPE
,
typename
OTHER_UNITS
>
LL_FORCE_INLINE
bool
operator
<
(
LLUnitImplicit
<
OTHER_STORAGE_TYPE
,
OTHER_UNITS
>
other
)
const
{
return
mValue
<
convert
(
other
).
value
();
return
base_t
::
mValue
<
convert
(
other
).
value
();
}
template
<
typename
STORAGE_T
>
LL_FORCE_INLINE
bool
operator
<
(
STORAGE_T
other
)
const
{
return
mValue
<
other
;
return
base_t
::
mValue
<
other
;
}
using
base_t
::
operator
<=
;
template
<
typename
OTHER_STORAGE_TYPE
,
typename
OTHER_UNITS
>
LL_FORCE_INLINE
bool
operator
<=
(
LLUnitImplicit
<
OTHER_STORAGE_TYPE
,
OTHER_UNITS
>
other
)
const
{
return
mValue
<=
convert
(
other
).
value
();
return
base_t
::
mValue
<=
convert
(
other
).
value
();
}
template
<
typename
STORAGE_T
>
LL_FORCE_INLINE
bool
operator
<=
(
STORAGE_T
other
)
const
{
return
mValue
<=
other
;
return
base_t
::
mValue
<=
other
;
}
using
base_t
::
operator
>
;
template
<
typename
OTHER_STORAGE_TYPE
,
typename
OTHER_UNITS
>
LL_FORCE_INLINE
bool
operator
>
(
LLUnitImplicit
<
OTHER_STORAGE_TYPE
,
OTHER_UNITS
>
other
)
const
{
return
mValue
>
convert
(
other
).
value
();
return
base_t
::
mValue
>
convert
(
other
).
value
();
}
template
<
typename
STORAGE_T
>
LL_FORCE_INLINE
bool
operator
>
(
STORAGE_T
other
)
const
{
return
mValue
>
other
;
return
base_t
::
mValue
>
other
;
}
using
base_t
::
operator
>=
;
template
<
typename
OTHER_STORAGE_TYPE
,
typename
OTHER_UNITS
>
LL_FORCE_INLINE
bool
operator
>=
(
LLUnitImplicit
<
OTHER_STORAGE_TYPE
,
OTHER_UNITS
>
other
)
const
{
return
mValue
>=
convert
(
other
).
value
();
return
base_t
::
mValue
>=
convert
(
other
).
value
();
}
template
<
typename
STORAGE_T
>
LL_FORCE_INLINE
bool
operator
>=
(
STORAGE_T
other
)
const
{
return
mValue
>=
other
;
return
base_t
::
mValue
>=
other
;
}
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment