3/3 of old-style casting
[alexxy/gromacs.git] / src / gromacs / fileio / tngio.cpp
index 1df209b6398b5e823939360e8cdf067c2f35773c..d9d67fa0a5f23a1f4fa3d6f01254cd9743123224 100644 (file)
@@ -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)