summaryrefslogtreecommitdiff
path: root/hscript/network.hh
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/network.hh')
-rw-r--r--hscript/network.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hscript/network.hh b/hscript/network.hh
index 7fc0504..ce64ca6 100644
--- a/hscript/network.hh
+++ b/hscript/network.hh
@@ -21,11 +21,11 @@ namespace Keys {
class Network : public BooleanKey {
private:
- Network(bool _value) : BooleanKey(_value) {}
+ Network(int _line, bool _value) : BooleanKey(_line, _value) {}
public:
static Key *parseFromData(const std::string data, int lineno, int *errors,
int *warnings);
- bool execute() override;
+ bool execute() const override;
};
class NetAddress : public Key {