+ fix clang warning: -Woverloaded-virtual

This commit is contained in:
wmayer
2015-10-02 20:42:16 +02:00
parent 17b076a0b3
commit 2acb38daa7
12 changed files with 36 additions and 36 deletions

View File

@@ -284,7 +284,7 @@ void PropertyExpressionEngine::slotObjectRenamed(const DocumentObject &obj)
* @return Expression for \a path, or empty boost::any if not found.
*/
const boost::any PropertyExpressionEngine::getValue(const App::ObjectIdentifier & path) const
const boost::any PropertyExpressionEngine::getPathValue(const App::ObjectIdentifier & path) const
{
// Get a canonical path
ObjectIdentifier usePath(canonicalPath(path));
@@ -310,7 +310,7 @@ void PropertyExpressionEngine::setValue(const ObjectIdentifier & path, boost::sh
const Property * prop = usePath.getProperty();
// Try to access value; it should trigger an exception if it is not supported, or if the path is invalid
prop->getValue(usePath);
prop->getPathValue(usePath);
if (expr) {
std::string error = validateExpression(usePath, expr);
@@ -486,7 +486,7 @@ DocumentObjectExecReturn *App::PropertyExpressionEngine::execute()
#endif
/* Set value of property */
prop->setValue(*it, e->getValueAsAny());
prop->setPathValue(*it, e->getValueAsAny());
++it;
}