1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-20 01:33:19 +00:00

Fixed MSVC build

This commit is contained in:
Miodrag Milanovic
2018-07-11 14:39:42 +02:00
parent 35216298d5
commit 09735694b2

View File

@@ -279,7 +279,7 @@ struct Context : Arch
// --------------------------------------------------------------
std::vector<GraphicElement> getFrameGraphics() const __attribute__ ((deprecated)) {
NPNR_DEPRECATED std::vector<GraphicElement> getFrameGraphics() const {
std::vector<GraphicElement> ret;
DecalXY decalxy = getFrameDecal();
ret = getDecalGraphics(decalxy.decal);
@@ -292,7 +292,7 @@ struct Context : Arch
return ret;
}
std::vector<GraphicElement> getBelGraphics(BelId bel) const __attribute__ ((deprecated)) {
NPNR_DEPRECATED std::vector<GraphicElement> getBelGraphics(BelId bel) const {
std::vector<GraphicElement> ret;
DecalXY decalxy = getBelDecal(bel);
ret = getDecalGraphics(decalxy.decal);
@@ -305,7 +305,7 @@ struct Context : Arch
return ret;
}
std::vector<GraphicElement> getWireGraphics(WireId wire) const __attribute__ ((deprecated)) {
NPNR_DEPRECATED std::vector<GraphicElement> getWireGraphics(WireId wire) const {
std::vector<GraphicElement> ret;
DecalXY decalxy = getWireDecal(wire);
ret = getDecalGraphics(decalxy.decal);
@@ -318,7 +318,7 @@ struct Context : Arch
return ret;
}
std::vector<GraphicElement> getPipGraphics(PipId pip) const __attribute__ ((deprecated)) {
NPNR_DEPRECATED std::vector<GraphicElement> getPipGraphics(PipId pip) const {
std::vector<GraphicElement> ret;
DecalXY decalxy = getPipDecal(pip);
ret = getDecalGraphics(decalxy.decal);