summaryrefslogtreecommitdiff
path: root/src/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.h')
-rw-r--r--src/ir.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ir.h b/src/ir.h
index d085ff4c..fbc48c7c 100644
--- a/src/ir.h
+++ b/src/ir.h
@@ -41,8 +41,9 @@ enum class VarType {
};
struct Var {
- explicit Var(Index index = kInvalidIndex, const Location& loc = Location());
- explicit Var(std::string_view name, const Location& loc = Location());
+ explicit Var();
+ explicit Var(Index index, const Location& loc);
+ explicit Var(std::string_view name, const Location& loc);
Var(Var&&);
Var(const Var&);
Var& operator=(const Var&);