Commit a56ce87d authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed compilation warning under Windows.

parent e04283fe
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Biological Structures at Stanford, funded under the NIH Roadmap for * * Biological Structures at Stanford, funded under the NIH Roadmap for *
* Medical Research, grant U54 GM072970. See https://simtk.org. * * Medical Research, grant U54 GM072970. See https://simtk.org. *
* * * *
* Portions copyright (c) 2008 Stanford University and the Authors. * * Portions copyright (c) 2008-2009 Stanford University and the Authors. *
* Authors: Peter Eastman * * Authors: Peter Eastman *
* Contributors: * * Contributors: *
* * * *
...@@ -36,10 +36,12 @@ ...@@ -36,10 +36,12 @@
using namespace OpenMM; using namespace OpenMM;
using namespace std; using namespace std;
OpenMMContext::OpenMMContext(System& system, Integrator& integrator) : impl(new OpenMMContextImpl(*this, system, integrator, 0)) { OpenMMContext::OpenMMContext(System& system, Integrator& integrator) {
impl = new OpenMMContextImpl(*this, system, integrator, 0);
} }
OpenMMContext::OpenMMContext(System& system, Integrator& integrator, Platform& platform) : impl(new OpenMMContextImpl(*this, system, integrator, &platform)) { OpenMMContext::OpenMMContext(System& system, Integrator& integrator, Platform& platform) {
impl = new OpenMMContextImpl(*this, system, integrator, &platform);
} }
OpenMMContext::~OpenMMContext() { OpenMMContext::~OpenMMContext() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment