Fix reference to undefined value (valgrind)
This commit is contained in:
parent
fb77cc4000
commit
b5324c7ba2
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2011-2016 Stephen Williams (steve@icarus.com)
|
||||
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
|
|
@ -46,7 +46,7 @@ ScopeBase::ScopeBase(const ActiveScope&ref)
|
|||
use_subprograms_(ref.use_subprograms_), cur_subprograms_(ref.cur_subprograms_),
|
||||
scopes_(ref.scopes_), use_enums_(ref.use_enums_),
|
||||
initializers_(ref.initializers_), finalizers_(ref.finalizers_),
|
||||
name_(ref.name_)
|
||||
package_header_(ref.package_header_), name_(ref.name_)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef IVL_scope_H
|
||||
#define IVL_scope_H
|
||||
/*
|
||||
* Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2011-2016 Stephen Williams (steve@icarus.com)
|
||||
* Copyright CERN 2013 / Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
|
|
@ -51,7 +51,7 @@ struct delete_pair_second{
|
|||
class ScopeBase {
|
||||
|
||||
public:
|
||||
ScopeBase() { }
|
||||
ScopeBase() : package_header_(0) { }
|
||||
explicit ScopeBase(const ActiveScope&ref);
|
||||
virtual ~ScopeBase() =0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue