From 6d44b037731fe497a98739bfd237e430f90974aa Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Sun, 27 Oct 2019 21:27:04 -0400 Subject: Eliminate most warnings on Linux --- function.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'function.cpp') diff --git a/function.cpp b/function.cpp index 0d5cb2ba..3dc98112 100644 --- a/function.cpp +++ b/function.cpp @@ -48,6 +48,14 @@ Variable::Variable(const BNVariable& var) } +Variable::Variable(const Variable& var) +{ + type = var.type; + index = var.index; + storage = var.storage; +} + + Variable& Variable::operator=(const Variable& var) { type = var.type; -- cgit v1.3.1