Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
5c47b00f
Commit
5c47b00f
authored
Nov 06, 2018
by
Simon Spannagel
Browse files
Small fixes
parent
8eed4273
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/core/clipboard/Clipboard.cpp
View file @
5c47b00f
...
...
@@ -40,7 +40,7 @@ bool Clipboard::has_persistent(std::string name) {
void
Clipboard
::
clear
()
{
for
(
auto
&
id
:
m_dataID
)
{
Objects
*
collection
=
m_data
[
id
];
for
(
Objects
::
iterator
it
=
collection
->
begin
();
it
!=
collection
->
end
();
it
++
)
for
(
Objects
::
iterator
it
=
collection
->
begin
();
it
!=
collection
->
end
();
++
it
)
delete
(
*
it
);
delete
m_data
[
id
];
m_data
.
erase
(
id
);
...
...
src/core/detector/Detector.hpp
View file @
5c47b00f
...
...
@@ -49,8 +49,8 @@ namespace corryvreckan {
~
Detector
()
{}
// Functions to retrieve basic information
std
::
string
type
()
{
return
m_detectorType
;
}
std
::
string
name
()
{
return
m_detectorName
;
}
const
std
::
string
type
()
const
{
return
m_detectorType
;
}
const
std
::
string
name
()
const
{
return
m_detectorName
;
}
// Detector role and helper functions
DetectorRole
role
()
{
return
m_role
;
}
...
...
Write
Preview
Supports
Markdown
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