Skip to content

Commit

Permalink
More forward declarations of STL streams
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomofiorin committed Aug 23, 2023
1 parent 4568850 commit 4543595
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions colvartools/poisson_integrator.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <iostream>
#include <fstream>

#include "colvargrid.h"
Expand Down
4 changes: 2 additions & 2 deletions src/colvar.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
#ifndef COLVAR_H
#define COLVAR_H

#include <iostream>
#include <map>
#include <functional>
#include <iosfwd>
#include <map>

#include "colvarmodule.h"
#include "colvarvalue.h"
Expand Down
1 change: 1 addition & 0 deletions src/colvar_geometricpath.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <cmath>
#include <algorithm>
#include <string>
#include <iostream>

namespace GeometricPathCV {

Expand Down
3 changes: 2 additions & 1 deletion src/colvarcomp_apath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
// If you wish to distribute your changes, please submit them to the
// Colvars repository at GitHub.

#include <numeric>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <numeric>

#include "colvarmodule.h"
#include "colvarvalue.h"
Expand Down
2 changes: 2 additions & 0 deletions tests/stubs/colvarproxy_stub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
// If you wish to distribute your changes, please submit them to the
// Colvars repository at GitHub.

#include <iostream>

#include "colvarmodule.h"
#include "colvarscript.h"
#include "colvaratoms.h"
Expand Down

0 comments on commit 4543595

Please sign in to comment.