summaryrefslogtreecommitdiff
path: root/hscript/network.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/network.cc')
-rw-r--r--hscript/network.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/hscript/network.cc b/hscript/network.cc
index 9456d09..e26ac93 100644
--- a/hscript/network.cc
+++ b/hscript/network.cc
@@ -22,9 +22,9 @@ Key *Network::parseFromData(const std::string data, int lineno, int *errors,
if(errors) *errors += 1;
return nullptr;
}
- return new Network(value);
+ return new Network(lineno, value);
}
-bool Network::execute() {
+bool Network::execute() const {
return false;
}