Skip to content

Commit 0c566ef

Browse files
committed
Use generic exprt to avoid deprecated default constructor of symbol_exprt
The implementation here is highly incomplete, in particular those symbols are never set. If at some future date the implementation is completed then the type of those members might be changed again.
1 parent bafd7e7 commit 0c566ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/goto-instrument/concurrency.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ class concurrency_instrumentationt
5858
{
5959
public:
6060
typet type;
61-
symbol_exprt array_symbol, w_index_symbol;
61+
exprt array_symbol, w_index_symbol;
6262
};
6363

6464
class thread_local_vart
6565
{
6666
public:
6767
typet type;
68-
symbol_exprt array_symbol;
68+
exprt array_symbol;
6969
};
7070

7171
typedef std::map<irep_idt, shared_vart> shared_varst;

0 commit comments

Comments
 (0)