Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
3cb3a4d0
Commit
3cb3a4d0
authored
Feb 25, 2010
by
Alexander Wiebel
Browse files
[STYLE] removed commented code
parent
061370a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
src/graphicsEngine/WGraphicsEngine.cpp
src/graphicsEngine/WGraphicsEngine.cpp
+0
-3
No files found.
src/graphicsEngine/WGraphicsEngine.cpp
View file @
3cb3a4d0
...
...
@@ -143,7 +143,6 @@ boost::shared_ptr<WGEViewer> WGraphicsEngine::createViewer( std::string name, os
// store it in viewer list
boost
::
mutex
::
scoped_lock
lock
(
m_viewersLock
);
assert
(
m_viewers
.
insert
(
make_pair
(
name
,
viewer
)
).
second
==
true
);
//m_viewersLock.unlock();
return
viewer
;
}
...
...
@@ -157,7 +156,6 @@ void WGraphicsEngine::closeViewer( const std::string name )
m_viewers
.
erase
(
name
);
}
//m_viewersLock.unlock();
}
boost
::
shared_ptr
<
WGEViewer
>
WGraphicsEngine
::
getViewerByName
(
std
::
string
name
)
...
...
@@ -166,7 +164,6 @@ boost::shared_ptr< WGEViewer > WGraphicsEngine::getViewerByName( std::string nam
boost
::
shared_ptr
<
WGEViewer
>
out
=
m_viewers
.
count
(
name
)
>
0
?
m_viewers
[
name
]
:
boost
::
shared_ptr
<
WGEViewer
>
();
//m_viewersLock.unlock();
return
out
;
}
...
...
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