Commit f4fb11da authored by Michaël Roynard's avatar Michaël Roynard
Browse files

Add change which is required for a MS bug.

parent 9bf5313a
Pipeline #12724 failed with stages
in 27 seconds
......@@ -48,6 +48,11 @@ namespace mln
using base::base;
// FIXME:
// Required because of a MS bug
// (https://developercommunity.visualstudio.com/content/problem/47799/vc-default-constructor-deleted.html)
image2d() = default;
image2d(short nrows, short ncols, unsigned border = 3, const T& init = T())
: base(box<short, 2>{{0, 0}, {nrows, ncols}}, border, init)
{
......
......@@ -46,6 +46,11 @@ namespace mln
using base::base;
// FIXME:
// Required because of a MS bug
// (https://developercommunity.visualstudio.com/content/problem/47799/vc-default-constructor-deleted.html)
image3d() = default;
explicit image3d(unsigned border = 3)
: ndimage_base<T, 3, image3d<T>>(border)
{
......
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