Skip to content

Commit

Permalink
Add forgotten Allocator_ template parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmhofmann committed Feb 24, 2019
1 parent b98a637 commit 9bc2c4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion selene/img/typed/Image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void swap(Image<PixelType, Allocator>& img_l, Image<PixelType, Allocator>& img_r
*/
template <typename PixelType_, typename Allocator_>
class Image
: public ImageBase<Image<PixelType_>>
: public ImageBase<Image<PixelType_, Allocator_>>
{
public:
using PixelType = PixelType_;
Expand Down
2 changes: 2 additions & 0 deletions selene/img/typed/ImageBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#include <selene/img/typed/_impl/ImageBaseTraits.hpp>
#include <selene/img/typed/_impl/StaticChecks.hpp>

#include <type_traits>

namespace sln {

/// \addtogroup group-img-typed
Expand Down

0 comments on commit 9bc2c4d

Please sign in to comment.