Browse Source

Trade: exclude trivial deprecated overloads from code coverage.

pull/233/head
Vladimír Vondruš 8 years ago
parent
commit
0546a1deef
  1. 2
      src/Magnum/Trade/MeshData2D.cpp
  2. 2
      src/Magnum/Trade/MeshData3D.cpp

2
src/Magnum/Trade/MeshData2D.cpp

@ -34,7 +34,7 @@ MeshData2D::MeshData2D(const MeshPrimitive primitive, std::vector<UnsignedInt> i
}
#ifdef MAGNUM_BUILD_DEPRECATED
MeshData2D::MeshData2D(const MeshPrimitive primitive, std::vector<UnsignedInt> indices, std::vector<std::vector<Vector2>> positions, std::vector<std::vector<Vector2>> textureCoords2D, const void* const importerState): MeshData2D{primitive, std::move(indices), std::move(positions), std::move(textureCoords2D), {}, importerState} {}
MeshData2D::MeshData2D(const MeshPrimitive primitive, std::vector<UnsignedInt> indices, std::vector<std::vector<Vector2>> positions, std::vector<std::vector<Vector2>> textureCoords2D, const void* const importerState): MeshData2D{primitive, std::move(indices), std::move(positions), std::move(textureCoords2D), {}, importerState} {} /* LCOV_EXCL_LINE */
#endif
MeshData2D::MeshData2D(MeshData2D&&)

2
src/Magnum/Trade/MeshData3D.cpp

@ -34,7 +34,7 @@ MeshData3D::MeshData3D(const MeshPrimitive primitive, std::vector<UnsignedInt> i
}
#ifdef MAGNUM_BUILD_DEPRECATED
MeshData3D::MeshData3D(const MeshPrimitive primitive, std::vector<UnsignedInt> indices, std::vector<std::vector<Vector3>> positions, std::vector<std::vector<Vector3>> normals, std::vector<std::vector<Vector2>> textureCoords2D, const void* const importerState): MeshData3D{primitive, std::move(indices), std::move(positions), std::move(normals), std::move(textureCoords2D), {}, importerState} {}
MeshData3D::MeshData3D(const MeshPrimitive primitive, std::vector<UnsignedInt> indices, std::vector<std::vector<Vector3>> positions, std::vector<std::vector<Vector3>> normals, std::vector<std::vector<Vector2>> textureCoords2D, const void* const importerState): MeshData3D{primitive, std::move(indices), std::move(positions), std::move(normals), std::move(textureCoords2D), {}, importerState} {} /* LCOV_EXCL_LINE */
#endif
MeshData3D::MeshData3D(MeshData3D&&)

Loading…
Cancel
Save