Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Hunger
qt-creator
Commits
5b4d841d
Commit
5b4d841d
authored
Mar 10, 2011
by
Tobias Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Abi: Add operator !=
Reviewed-by: dt
parent
f4ca6959
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
src/plugins/projectexplorer/abi.cpp
src/plugins/projectexplorer/abi.cpp
+5
-0
src/plugins/projectexplorer/abi.h
src/plugins/projectexplorer/abi.h
+1
-0
No files found.
src/plugins/projectexplorer/abi.cpp
View file @
5b4d841d
...
...
@@ -310,6 +310,11 @@ QString Abi::toString() const
return
dn
.
join
(
QLatin1String
(
"-"
));
}
bool
Abi
::
operator
!=
(
const
Abi
&
other
)
const
{
return
!
operator
==
(
other
);
}
bool
Abi
::
operator
==
(
const
Abi
&
other
)
const
{
return
m_architecture
==
other
.
m_architecture
...
...
src/plugins/projectexplorer/abi.h
View file @
5b4d841d
...
...
@@ -107,6 +107,7 @@ public:
const
OSFlavor
&
so
,
const
BinaryFormat
&
f
,
unsigned
char
w
);
Abi
(
const
QString
&
abiString
);
bool
operator
!=
(
const
Abi
&
other
)
const
;
bool
operator
==
(
const
Abi
&
other
)
const
;
bool
isCompatibleWith
(
const
Abi
&
other
)
const
;
...
...
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