mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-13 17:53:11 +02:00
Eeschema: forward declare outside the namespace
GCC didn't like the std::vector<class SCH_JUNCTION*> inside the NS.
This commit is contained in:
parent
1a7a97a496
commit
845c67fca3
@ -270,4 +270,4 @@ std::vector<SCH_JUNCTION*> JUNCTION_HELPERS::PreviewJunctions( const SCH_SCREEN*
|
||||
}
|
||||
|
||||
return jcts;
|
||||
}
|
||||
}
|
||||
|
@ -17,9 +17,14 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <math/vector2d.h>
|
||||
#include <sch_rtree.h>
|
||||
|
||||
|
||||
class SCH_JUNCTION;
|
||||
|
||||
namespace JUNCTION_HELPERS
|
||||
{
|
||||
|
||||
@ -56,7 +61,7 @@ POINT_INFO AnalyzePoint( const EE_RTREE& aItem, const VECTOR2I& aPosition, bool
|
||||
* @param aItems Temporary items not yet added to the screen.
|
||||
* @return Locations of needed junctions represented as new SCH_JUNCTION items.
|
||||
*/
|
||||
std::vector<class SCH_JUNCTION*> PreviewJunctions( const class SCH_SCREEN* aScreen,
|
||||
const std::vector<class SCH_ITEM*>& aItems );
|
||||
std::vector<SCH_JUNCTION*> PreviewJunctions( const class SCH_SCREEN* aScreen,
|
||||
const std::vector<class SCH_ITEM*>& aItems );
|
||||
|
||||
} // namespace JUNCTION_HELPERS
|
||||
|
Loading…
x
Reference in New Issue
Block a user