Skip to content

Commit ec35dbe

Browse files
committedDec 20, 2015
Fix some warnings when building with clang and -Weverything
1 parent 80de178 commit ec35dbe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+214
-282
lines changed
 

‎src/analysis/interpolation/DualEdgeTriangulation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ inline DualEdgeTriangulation::DualEdgeTriangulation( int nop, Triangulation* dec
220220

221221
inline int DualEdgeTriangulation::getNumberOfPoints() const
222222
{
223-
return (( int )( mPointVector.count() ) );
223+
return mPointVector.count();
224224
}
225225

226226
inline Point3D* DualEdgeTriangulation::getPoint( unsigned int i ) const

‎src/core/composer/qgscomposeritemcommand.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class CORE_EXPORT QgsComposerMergeCommand: public QgsComposerItemCommand
137137
~QgsComposerMergeCommand();
138138

139139
bool mergeWith( const QUndoCommand * command ) override;
140-
int id() const override { return ( int )mContext; }
140+
int id() const override { return static_cast< int >( mContext ); }
141141

142142
private:
143143
Context mContext;

0 commit comments

Comments
 (0)
Failed to load comments.