Compare commits

...

2 Commits

Author SHA1 Message Date
Almamu
b66610cc26 chore: few codefactor issues 2025-09-01 21:41:20 +02:00
Almamu
4c6cfb356c chore: few codefactor issues 2025-09-01 21:40:06 +02:00
3 changed files with 1 additions and 3 deletions

View File

@ -12,7 +12,6 @@ namespace WallpaperEngine::Data::Builders {
using namespace WallpaperEngine::Data::Utils::SFINAE;
class VectorBuilder {
private:
/**
* Convert template that calls the proper std::strto* function
* based on the incoming type
@ -130,7 +129,6 @@ class VectorBuilder {
// call the specialized version of the function
return parse<length, typename GlmVecTraits<T>::type, qualifier> (str);
}
private:
};
template <>

View File

@ -136,6 +136,7 @@ class JsonExtensions {
// call the specialized version of the function
return operator glm::vec <length, typename GlmVecTraits<T>::type, qualifier> ();
}
private:
/**
* @return The base json object to be used by the extension methods

View File

@ -34,7 +34,6 @@ CImage::CImage (Wallpapers::CScene& scene, const Image& image) :
m_pos (),
m_animationTime (0.0),
m_initialized (false) {
// get scene width and height to calculate positions
auto scene_width = static_cast<float> (scene.getWidth ());
auto scene_height = static_cast<float> (scene.getHeight ());