chore: formating issues by codefactor

This commit is contained in:
Almamu 2025-05-09 02:59:02 +02:00
parent 573fc6fe13
commit 3806063b01
4 changed files with 2 additions and 4 deletions

View File

@ -59,7 +59,6 @@ CApplicationContext::CApplicationContext (int argc, char* argv []) :
this->settings.render.window.geometry.y = strtol (delim1 + 1, nullptr, 10); this->settings.render.window.geometry.y = strtol (delim1 + 1, nullptr, 10);
this->settings.render.window.geometry.z = strtol (delim2 + 1, nullptr, 10); this->settings.render.window.geometry.z = strtol (delim2 + 1, nullptr, 10);
this->settings.render.window.geometry.w = strtol (delim3 + 1, nullptr, 10); this->settings.render.window.geometry.w = strtol (delim3 + 1, nullptr, 10);
}) })
.append (); .append ();
backgroundMode.add_argument ("-r", "--screen-root") backgroundMode.add_argument ("-r", "--screen-root")

View File

@ -31,8 +31,8 @@ class CPropertySlider final : public CProperty {
void set (const std::string& value) override; void set (const std::string& value) override;
[[nodiscard]] const char* getType () const override; [[nodiscard]] const char* getType () const override;
private:
private:
/** Minimum value */ /** Minimum value */
const float m_min; const float m_min;
/** Maximum value */ /** Maximum value */

View File

@ -51,8 +51,8 @@ class CScene : public CWallpaper {
[[nodiscard]] const glm::vec3& getSkylightColor () const; [[nodiscard]] const glm::vec3& getSkylightColor () const;
[[nodiscard]] const Scenes::CCamera* getCamera () const; [[nodiscard]] const Scenes::CCamera* getCamera () const;
protected:
protected:
friend class CWallpaper; friend class CWallpaper;
void insertObject (const CObject* object); void insertObject (const CObject* object);

View File

@ -424,7 +424,6 @@ void CShaderUnit::parseParameterConfiguration (
} else if (require != data.end ()) { } else if (require != data.end ()) {
// this is required based on certain conditions // this is required based on certain conditions
if (requireany != data.end () && requireany->get <bool> ()) { if (requireany != data.end () && requireany->get <bool> ()) {
// any of the values set are valid, check for them // any of the values set are valid, check for them
for (const auto& item : require->items ()) { for (const auto& item : require->items ()) {
const std::string& macro = item.key (); const std::string& macro = item.key ();