Commit 2134e7de authored by Camille Delbegue's avatar Camille Delbegue Committed by Maciej Suminski

Remove a Clang warning and add a missing dependency to boost in cmake file.

parent d15f0e91
......@@ -403,6 +403,7 @@ add_subdirectory(tools)
add_dependencies( pcbnew boost )
add_dependencies( eeschema boost )
add_dependencies( cvpcb boost )
add_dependencies( gal boost )
add_dependencies( common boost )
add_dependencies( pcbcommon boost )
add_dependencies( 3d-viewer boost )
......
......@@ -29,6 +29,10 @@
using namespace KiGfx;
const double STROKE_FONT::LINE_HEIGHT_RATIO = 1.6;
STROKE_FONT::STROKE_FONT( GAL* aGal ) :
m_gal( aGal ),
m_bold( false ),
......
......@@ -182,7 +182,7 @@ private:
*/
VECTOR2D computeTextSize( const std::string& aText ) const;
static const double LINE_HEIGHT_RATIO = 1.6;
static const double LINE_HEIGHT_RATIO;
};
} // namespace KiGfx
......
......@@ -43,6 +43,10 @@
using namespace KiGfx;
const double PCB_RENDER_SETTINGS::MAX_FONT_SIZE = 100000000;
PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS()
{
// By default everything should be displayed as filled
......
......@@ -106,7 +106,7 @@ protected:
bool m_netNamesOnPads;
bool m_netNamesOnTracks;
static const double MAX_FONT_SIZE = 100000000;
static const double MAX_FONT_SIZE;
DisplayZonesMode m_displayZoneMode;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment