mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
QString should have been const
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1133 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
37c9e1affd
commit
89e0c687d7
@ -194,7 +194,7 @@ QList<UAVObjectField*> UAVObject::getFields()
|
||||
* Get a specific field
|
||||
* @returns The field or NULL if not found
|
||||
*/
|
||||
UAVObjectField* UAVObject::getField(QString& name)
|
||||
UAVObjectField* UAVObject::getField(const QString& name)
|
||||
{
|
||||
QMutexLocker locker(mutex);
|
||||
// Look for field
|
||||
|
@ -106,7 +106,7 @@ public:
|
||||
QMutex* getMutex();
|
||||
qint32 getNumFields();
|
||||
QList<UAVObjectField*> getFields();
|
||||
UAVObjectField* getField(QString& name);
|
||||
UAVObjectField* getField(const QString& name);
|
||||
QString toString();
|
||||
QString toStringBrief();
|
||||
QString toStringData();
|
||||
|
Loading…
Reference in New Issue
Block a user