Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
fb48658f
Commit
fb48658f
authored
Dec 11, 2012
by
Peter Eastman
Browse files
Added a missing const keyword
parent
76f2e0b4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
olla/include/openmm/Platform.h
olla/include/openmm/Platform.h
+2
-2
olla/src/Platform.cpp
olla/src/Platform.cpp
+2
-2
No files found.
olla/include/openmm/Platform.h
View file @
fb48658f
...
@@ -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.
*
*
...
...
olla/src/Platform.cpp
View file @
fb48658f
...
@@ -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-201
1
Stanford University and the Authors. *
* Portions copyright (c) 2008-201
2
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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment