aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source/ops_assign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vasp/source/ops_assign.cpp')
-rw-r--r--externals/grill/vasp/source/ops_assign.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/externals/grill/vasp/source/ops_assign.cpp b/externals/grill/vasp/source/ops_assign.cpp
index 96061ce9..a8033bb9 100644
--- a/externals/grill/vasp/source/ops_assign.cpp
+++ b/externals/grill/vasp/source/ops_assign.cpp
@@ -8,6 +8,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
*/
+#include "main.h"
#include "ops_assign.h"
#include "opdefs.h"
@@ -64,9 +65,9 @@ class vasp_copy:
FLEXT_HEADER(vasp_copy,vasp_anyop)
public:
- vasp_copy(I argc,t_atom *argv): vasp_anyop(argc,argv,VASP_ARG(),true,XletCode(xlet::tp_any,0)) {}
+ vasp_copy(I argc,const t_atom *argv): vasp_anyop(argc,argv,VASP_ARG(),true,XletCode(xlet::tp_any,0)) {}
- virtual V m_to(I,t_atom *) { post("s - destination vasp is ignored!",thisName()); }
+ virtual V m_to(I,const t_atom *) { post("s - destination vasp is ignored!",thisName()); }
virtual Vasp *do_copy(OpParam &p,Vasp &dst) { return VaspOp::m_copy(p,ref,dst); }
@@ -97,7 +98,7 @@ class vasp_ccopy:
FLEXT_HEADER(vasp_ccopy,vasp_copy)
public:
- vasp_ccopy(I argc,t_atom *argv): vasp_copy(argc,argv) {}
+ vasp_ccopy(I argc,const t_atom *argv): vasp_copy(argc,argv) {}
virtual Vasp *do_copy(OpParam &p,Vasp &dst) { return VaspOp::m_ccopy(p,ref,dst); }