QSimplex: API cleanup [3/3]: add inline keyword

The functions valueAt() and setValueAdd() were defined inline out-of-body,
but not declared inline. Fix by adding inline to the declarations, too.

This has in the past caused warnings on exported classes on MinGW, and it's
simply wrong, too.

Change-Id: I5922cb9ca0c5ee37408f553f0aad0e3264853827
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
Marc Mutz 2013-11-28 21:14:30 +01:00 committed by The Qt Project
parent 80cfb9b8f1
commit 5d9cddd24c

View File

@ -164,8 +164,8 @@ public:
private: private:
// Matrix handling // Matrix handling
qreal valueAt(int row, int column); inline qreal valueAt(int row, int column);
void setValueAt(int row, int column, qreal value); inline void setValueAt(int row, int column, qreal value);
void clearRow(int rowIndex); void clearRow(int rowIndex);
void clearColumns(int first, int last); void clearColumns(int first, int last);
void combineRows(int toIndex, int fromIndex, qreal factor); void combineRows(int toIndex, int fromIndex, qreal factor);