Skip to content

Commit

Permalink
Made Property::encodeAttribute static.
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindkv authored and wwmayer committed Feb 13, 2015
1 parent 5a9d79a commit e70b859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App/Property.cpp
Expand Up @@ -114,7 +114,7 @@ void Property::Paste(const Property& /*from*/)
assert(0);
}

std::string Property::encodeAttribute(const std::string& str) const
std::string Property::encodeAttribute(const std::string& str)
{
std::string tmp;
for (std::string::const_iterator it = str.begin(); it != str.end(); ++it) {
Expand Down
2 changes: 1 addition & 1 deletion src/App/Property.h
Expand Up @@ -96,7 +96,7 @@ class AppExport Property : public Base::Persistence
/// Paste the value from the property (mainly for Undo/Redo and transactions)
virtual void Paste(const Property &from) = 0;
/// Encodes an attribute upon saving.
std::string encodeAttribute(const std::string&) const;
static std::string encodeAttribute(const std::string&);


friend class PropertyContainer;
Expand Down

0 comments on commit e70b859

Please sign in to comment.