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

Added a missing const keyword

parent 76f2e0b4
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,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-2012 Stanford University and the Authors. *
* Authors: Peter Eastman * * Authors: Peter Eastman *
* Contributors: * * Contributors: *
* * * *
...@@ -83,7 +83,7 @@ public: ...@@ -83,7 +83,7 @@ public:
/** /**
* Get the names of all Platform-specific properties this Platform supports. * Get the names of all Platform-specific properties this Platform supports.
*/ */
const std::vector<std::string>& getPropertyNames(); const std::vector<std::string>& getPropertyNames() const;
/** /**
* Get the value of a Platform-specific property for a Context. * Get the value of a Platform-specific property for a Context.
* *
......
...@@ -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-2011 Stanford University and the Authors. * * Portions copyright (c) 2008-2012 Stanford University and the Authors. *
* Authors: Peter Eastman * * Authors: Peter Eastman *
* Contributors: * * Contributors: *
* * * *
...@@ -68,7 +68,7 @@ Platform::~Platform() { ...@@ -68,7 +68,7 @@ Platform::~Platform() {
delete *iter; delete *iter;
} }
const vector<string>& Platform::getPropertyNames() { const vector<string>& Platform::getPropertyNames() const {
return platformProperties; return platformProperties;
} }
......
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