Commit 9f0086f3 authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Added 'return platform' to registerReferencePlatform() -- VisualStudio...

Added 'return platform' to registerReferencePlatform() -- VisualStudio complained about no return value
Added #include "../sfmt/SFMT.h" to SimTKOpenMMUtilities.h to get 'uint32_t' declaration
parent 3d750e85
...@@ -39,6 +39,7 @@ using namespace OpenMM; ...@@ -39,6 +39,7 @@ using namespace OpenMM;
ReferencePlatform* registerReferencePlatform() { ReferencePlatform* registerReferencePlatform() {
ReferencePlatform* platform = new ReferencePlatform(); ReferencePlatform* platform = new ReferencePlatform();
Platform::registerPlatform(platform); Platform::registerPlatform(platform);
return platform;
} }
ReferencePlatform* staticPlatform = registerReferencePlatform(); ReferencePlatform* staticPlatform = registerReferencePlatform();
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
// class of shared, static utility methods // class of shared, static utility methods
#include "SimTKOpenMMCommon.h" #include "SimTKOpenMMCommon.h"
#include "../sfmt/SFMT.h"
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
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