Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
b617e3e5
Commit
b617e3e5
authored
Jul 07, 2015
by
Nestler, Michael
Browse files
fixed delete[] line544
parent
bd3b03d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/io/detail/Arh3Writer.cc
View file @
b617e3e5
...
...
@@ -541,7 +541,7 @@ namespace AMDiS { namespace io {
data
[
i
]
=
static_cast
<
T
>
(
values
[
i
]);
file
.
write
(
reinterpret_cast
<
char
*>
(
&
data
[
0
]),
sizeof
(
T
)
*
size
);
delete
data
;
delete
[]
data
;
return
sizeof
(
T
)
*
size
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment