Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
201dee45
Commit
201dee45
authored
Nov 23, 2015
by
Hans-Christian Ebke
Browse files
HeapT: New optimization should compile in C++98 as well...
parent
422b3dc6
Pipeline
#92
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/OpenMesh/Tools/Utils/HeapT.hh
View file @
201dee45
...
...
@@ -79,7 +79,9 @@
#include
"Config.hh"
#include
<vector>
#include
<OpenMesh/Core/System/omstream.hh>
#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
#include
<utility>
#endif
//== NAMESPACE ================================================================
...
...
@@ -148,11 +150,18 @@ public:
/// Constructor
HeapT
()
:
HeapVector
()
{}
#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)
/// Construct with a given \c HeapIterface.
HeapT
(
HeapInterface
_interface
)
:
HeapVector
(),
interface_
(
std
::
move
(
_interface
))
{}
#else
/// Construct with a given \c HeapIterface.
HeapT
(
const
HeapInterface
&
_interface
)
:
HeapVector
(),
interface_
(
_interface
)
{}
#endif
/// Destructor.
~
HeapT
(){};
...
...
Hans-Christian Ebke
@ebke
mentioned in commit
61de838c
·
Nov 25, 2015
mentioned in commit
61de838c
mentioned in commit 61de838cac2703bdcbd462c20303c6c4098d4b15
Toggle commit list
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