Skip to content

Commit

Permalink
Fix formatting of .h files
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus committed Jul 22, 2024
1 parent 35c3919 commit 1d4b5e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ClangFormat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ IFS=$'\n\t'

PROJECT_DIR="$(dirname "${BASH_SOURCE[0]}")"

find "${PROJECT_DIR}" -name "*.h" -o -name "*.cpp" -print0 | xargs -0 -P "$(nproc)" -n 100 clang-format -i
find "${PROJECT_DIR}" \( -name "*.h" -o -name "*.cpp" \) -print0 | xargs -0 -P "$(nproc)" -n 100 clang-format -i
2 changes: 1 addition & 1 deletion Source/EffectBox/Public/EffectBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class EFFECTBOX_API UEffectBox : public UContentWidget
*/
UPROPERTY(EditAnywhere, Category = "Effect")
UMaterialInterface* EffectMaterial = nullptr;

virtual void OnSlotAdded(UPanelSlot* InSlot) override;
virtual void OnSlotRemoved(UPanelSlot* InSlot) override;

Expand Down
14 changes: 7 additions & 7 deletions Source/EffectBox/Public/SEffectBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class EFFECTBOX_API SEffectBox final : public SCompoundWidget
bool bIsDesignTime = false;

virtual int32 OnPaint(
const FPaintArgs& Args,
const FGeometry& AllottedGeometry,
const FSlateRect& MyCullingRect,
FSlateWindowElementList& OutDrawElements,
int32 LayerId,
const FWidgetStyle& InWidgetStyle,
bool bParentEnabled) const override;
const FPaintArgs& Args,
const FGeometry& AllottedGeometry,
const FSlateRect& MyCullingRect,
FSlateWindowElementList& OutDrawElements,
int32 LayerId,
const FWidgetStyle& InWidgetStyle,
bool bParentEnabled) const override;

virtual bool ComputeVolatility() const override;

Expand Down

0 comments on commit 1d4b5e5

Please sign in to comment.