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

Added a missing const keyword

parent 76f2e0b4
......@@ -9,7 +9,7 @@
* Biological Structures at Stanford, funded under the NIH Roadmap for *
* 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 *
* Contributors: *
* *
......@@ -83,7 +83,7 @@ public:
/**
* 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.
*
......
......@@ -6,7 +6,7 @@
* Biological Structures at Stanford, funded under the NIH Roadmap for *
* 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 *
* Contributors: *
* *
......@@ -68,7 +68,7 @@ Platform::~Platform() {
delete *iter;
}
const vector<string>& Platform::getPropertyNames() {
const vector<string>& Platform::getPropertyNames() const {
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