biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
3/3 of old-style casting
[alexxy/gromacs.git]
/
src
/
gromacs
/
fileio
/
tngio.cpp
diff --git
a/src/gromacs/fileio/tngio.cpp
b/src/gromacs/fileio/tngio.cpp
index 1df209b6398b5e823939360e8cdf067c2f35773c..d9d67fa0a5f23a1f4fa3d6f01254cd9743123224 100644
(file)
--- a/
src/gromacs/fileio/tngio.cpp
+++ b/
src/gromacs/fileio/tngio.cpp
@@
-681,7
+681,7
@@
static void add_selection_groups(gmx_tng_trajectory_t gmx_tng,
}
else
{
- res_name =
(char *)""
;
+ res_name =
const_cast<char*>("")
;
res_id = 0;
}
if (tng_chain_residue_find(tng, chain, res_name, res_id, &res)