Skip to content

Commit d27eb11

Browse files
committed
daslang: add override
We were getting a bunch of warnings during the build.
1 parent 4c8a1d2 commit d27eb11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • include/daScript/ast

include/daScript/ast/ast.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ namespace das
754754
// Copies ExprConst's own fields (value + per-constant flags) on top of Expression::clone.
755755
// Concrete ExprConst subclasses must route through here, not Expression::clone directly,
756756
// or per-constant metadata (foldedNonConst, promotedFromInt, inexactFloatPromotion) is lost.
757-
ExpressionPtr clone ( ExpressionPtr expr ) const;
757+
ExpressionPtr clone ( ExpressionPtr expr ) const override;
758758
Type baseType = Type::none;
759759
vec4f value = v_zero();
760760
bool foldedNonConst = false;

0 commit comments

Comments
 (0)