Skip to content

Commit

Permalink
Merge pull request #63 from Tracktion/main
Browse files Browse the repository at this point in the history
Fixed some warnings
  • Loading branch information
sudara authored May 30, 2024
2 parents f961bda + 4c3eb7b commit 5329fd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions melatonin/internal/cached_shadows.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ namespace melatonin::internal
explicit CachedShadows (const std::vector<ShadowParameters>& shadowParameters, bool force_inner = false);

public:
virtual ~CachedShadows() = default;

// store a copy of the path to compare against for caching
// public for testability, sorry not sorry
// too lazy to break out ARGBComposite into its own class
Expand Down
4 changes: 2 additions & 2 deletions melatonin/internal/implementations.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace melatonin::internal
// Don't use these directly, use melatonin::CachedBlur!
namespace melatonin::blur
{
static void singleChannel (juce::Image& img, size_t radius)
static inline void singleChannel (juce::Image& img, size_t radius)
{
#if MELATONIN_BLUR_VIMAGE
if (internal::vImageSingleChannelAvailable())
Expand All @@ -86,7 +86,7 @@ namespace melatonin::blur
#endif
}

static void argb ([[maybe_unused]] juce::Image& srcImage, juce::Image& dstImage, size_t radius)
static inline void argb ([[maybe_unused]] juce::Image& srcImage, juce::Image& dstImage, size_t radius)
{
#if MELATONIN_BLUR_VIMAGE_MACOS14
if (internal::vImageARGBAvailable())
Expand Down

0 comments on commit 5329fd8

Please sign in to comment.