Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_io
Commits
a94658c3
Commit
a94658c3
authored
Aug 30, 2015
by
incardon
Browse files
Fixing constness of the structures
parent
d3a6ccf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VTKWriter_graph.hpp
View file @
a94658c3
...
...
@@ -177,7 +177,7 @@ public:
*
*/
static
std
::
string
get_point_data
(
Graph
&
g
)
static
std
::
string
get_point_data
(
const
Graph
&
g
)
{
//! vertex node output string
std
::
string
v_out
;
...
...
@@ -350,14 +350,14 @@ struct prop_out
std
::
string
&
v_out
;
// Graph that we are processing
Graph
&
g
;
const
Graph
&
g
;
/*! \brief constructor
*
* \param v_out string to fill with the vertex properties
*
*/
prop_out
(
std
::
string
&
v_out
,
Graph
&
g
)
prop_out
(
std
::
string
&
v_out
,
const
Graph
&
g
)
:
v_out
(
v_out
),
g
(
g
)
{};
...
...
@@ -393,7 +393,7 @@ struct prop_out
template
<
typename
Graph
>
class
VTKWriter
<
Graph
,
GRAPH
>
{
Graph
&
g
;
const
Graph
&
g
;
/*! \brief It get the vertex properties list
*
...
...
@@ -572,7 +572,7 @@ public:
* \param g Graph to write
*
*/
VTKWriter
(
Graph
&
g
)
VTKWriter
(
const
Graph
&
g
)
:
g
(
g
)
{}
...
...
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