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
ff851ecc
Commit
ff851ecc
authored
Nov 28, 2016
by
peastman
Committed by
GitHub
Nov 28, 2016
Browse files
Merge pull request #1678 from peastman/property
Fixed a bug in setting property by deprecated name
parents
9f717609
a6fd8742
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
olla/src/Platform.cpp
olla/src/Platform.cpp
+1
-1
No files found.
olla/src/Platform.cpp
View file @
ff851ecc
...
...
@@ -104,7 +104,7 @@ void Platform::setPropertyDefaultValue(const string& property, const string& val
propertyName
=
deprecatedPropertyReplacements
.
find
(
property
)
->
second
;
for
(
int
i
=
0
;
i
<
(
int
)
platformProperties
.
size
();
i
++
)
if
(
platformProperties
[
i
]
==
propertyName
)
{
defaultProperties
[
property
]
=
value
;
defaultProperties
[
property
Name
]
=
value
;
return
;
}
throw
OpenMMException
(
"setPropertyDefaultValue: Illegal property name"
);
...
...
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