Skip to content

Commit 46122d2

Browse files
committed
Deal with MSVC being paranoid
about diamond inheritance
1 parent efa5526 commit 46122d2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/colvarbias_abmd.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,26 @@ class colvarbias_abmd
3030
std::ostream & write_traj_label(std::ostream &os) override;
3131
std::ostream & write_traj(std::ostream &os) override;
3232

33+
std::ostream & write_state_data(std::ostream &os) override {
34+
return colvarbias_ti::write_state_data(os);
35+
}
36+
37+
cvm::memory_stream & write_state_data(cvm::memory_stream &os) override {
38+
return colvarbias_ti::write_state_data(os);
39+
}
40+
41+
std::istream & read_state_data(std::istream &is) override {
42+
return colvarbias_ti::read_state_data(is);
43+
}
44+
45+
cvm::memory_stream & read_state_data(cvm::memory_stream &is) override {
46+
return colvarbias_ti::read_state_data(is);
47+
}
48+
49+
int write_output_files() override {
50+
return colvarbias_ti::write_output_files();
51+
}
52+
3353
protected:
3454

3555
/// \brief Location of the moving wall

0 commit comments

Comments
 (0)