aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libparser/node/roundnode.h
diff options
context:
space:
mode:
authorRenaud Guezennec <renaud@rolisteam.org>2025-10-07 00:10:02 +0200
committerRenaud Guezennec <renaud@rolisteam.org>2025-11-10 02:39:57 +0000
commit19670fc751782d063fafd43c9be03ecc92572c6b (patch)
tree0c7a3a803324e7cc9f70a6f2f5ed41907b4468e8 /src/libparser/node/roundnode.h
parent46cb61e9f90a480b0277816ae8d42e5b0c91fe0c (diff)
downloadOneRoll-19670fc751782d063fafd43c9be03ecc92572c6b.tar.gz
OneRoll-19670fc751782d063fafd43c9be03ecc92572c6b.zip
Fix error and cpp style.
Diffstat (limited to 'src/libparser/node/roundnode.h')
-rw-r--r--src/libparser/node/roundnode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libparser/node/roundnode.h b/src/libparser/node/roundnode.h
index 0bf49b7..a16e886 100644
--- a/src/libparser/node/roundnode.h
+++ b/src/libparser/node/roundnode.h
@@ -7,7 +7,8 @@
class RoundNode : public ExecutionNode
{
public:
- enum Mode {
+ enum Mode
+ {
FLOOR,
CEIL,
ROUND
@@ -16,10 +17,10 @@ public:
// ExecutionNode interface
public:
- void run(ExecutionNode *previous);
+ void run(ExecutionNode* previous);
QString toString(bool withLabel) const;
qint64 getPriority() const;
- ExecutionNode *getCopy() const;
+ ExecutionNode* getCopy() const;
void setCommand(ExecutionNode* cmd);
private: