From ba10bd38645d4f83f0d9b7ec6fe16118a0a6dd34 Mon Sep 17 00:00:00 2001 From: Gerardo Tauriello <gerardo.tauriello@unibas.ch> Date: Tue, 29 Aug 2017 11:35:08 +0200 Subject: [PATCH] Fix missing stdint includes. --- modules/mol/alg/src/adjacency_bitmap.hh | 1 + modules/mol/mm/src/observer.hh | 11 +++++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/mol/alg/src/adjacency_bitmap.hh b/modules/mol/alg/src/adjacency_bitmap.hh index 69eee65f2..204f06cca 100644 --- a/modules/mol/alg/src/adjacency_bitmap.hh +++ b/modules/mol/alg/src/adjacency_bitmap.hh @@ -7,6 +7,7 @@ #include <ost/tri_matrix.hh> #include <ost/seq/sequence_handle.hh> #include <ost/seq/alignment_handle.hh> +#include <ost/stdint.hh> #include "similarity_matrix.hh" #include "contact_overlap.hh" #include "module_config.hh" diff --git a/modules/mol/mm/src/observer.hh b/modules/mol/mm/src/observer.hh index d36229a9c..e9103cea3 100644 --- a/modules/mol/mm/src/observer.hh +++ b/modules/mol/mm/src/observer.hh @@ -31,6 +31,7 @@ #include <ost/mol/mm/state_extractor.hh> #include <ost/mol/mm/topology.hh> #include <ost/mol/mm/modeller.hh> +#include <ost/stdint.hh> namespace OpenMM{ class Context; //hacky way of telling the Context is around. @@ -92,12 +93,10 @@ class TrajWriter : public Observer{ public: - TrajWriter(int rhythm, const String& pdb_filename, const String& dcd_filename): rhythm_(rhythm), - pdb_filename_(pdb_filename), - dcd_filename_(dcd_filename), - stream_(), - registered_(false), - frames_(0) { } + TrajWriter(int rhythm, const String& pdb_filename, const String& dcd_filename) + : rhythm_(rhythm), pdb_filename_(pdb_filename), + dcd_filename_(dcd_filename), stream_(), registered_(false), + frames_(0) { } void Init(boost::shared_ptr<OpenMM::Context> c, TopologyPtr top, -- GitLab