Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
9965f9e0
Commit
9965f9e0
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
code more compact
parent
c9da647b
No related branches found
No related tags found
1 merge request
!2042
cleanup while preparing for replacement of SimulationAreaDetector
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Device/Detector/SimulationAreaIterator.cpp
+0
-5
0 additions, 5 deletions
Device/Detector/SimulationAreaIterator.cpp
Device/Detector/SimulationAreaIterator.h
+2
-3
2 additions, 3 deletions
Device/Detector/SimulationAreaIterator.h
with
2 additions
and
8 deletions
Device/Detector/SimulationAreaIterator.cpp
+
0
−
5
View file @
9965f9e0
...
...
@@ -82,8 +82,3 @@ bool SimulationAreaIterator::operator==(const SimulationAreaIterator& other) con
ASSERT
(
m_detector
==
other
.
m_detector
);
return
m_index
==
other
.
m_index
;
}
bool
SimulationAreaIterator
::
operator
!=
(
const
SimulationAreaIterator
&
right
)
const
{
return
!
(
*
this
==
right
);
}
This diff is collapsed.
Click to expand it.
Device/Detector/SimulationAreaIterator.h
+
2
−
3
View file @
9965f9e0
...
...
@@ -36,10 +36,9 @@ public:
size_t
detectorIndex
()
const
;
bool
operator
==
(
const
SimulationAreaIterator
&
other
)
const
;
bool
operator
!=
(
const
SimulationAreaIterator
&
right
)
const
;
bool
operator
!=
(
const
SimulationAreaIterator
&
other
)
const
{
return
!
operator
==
(
other
);
}
//! prefix increment
SimulationAreaIterator
&
operator
++
();
SimulationAreaIterator
&
operator
++
();
//!< prefix increment
private
:
explicit
SimulationAreaIterator
(
const
IDetector
*
detector
,
size_t
start_at_index
);
...
...
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