-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (c) 2001-2021 Stephen Williams ([email protected]) | ||
* Copyright (c) 2001-2024 Stephen Williams ([email protected]) | ||
* | ||
* This source code is free software; you can redistribute it | ||
* and/or modify it in source code form under the terms of the GNU | ||
|
@@ -896,7 +896,7 @@ void parameter_delete(vpiHandle item) | |
{ | ||
switch(vpi_get(vpiConstType, item)) { | ||
case vpiStringConst: { | ||
struct __vpiStringParam*rfp = dynamic_cast<__vpiStringParam*>(item); | ||
class __vpiStringParam*rfp = dynamic_cast<__vpiStringParam*>(item); | ||
delete rfp; | ||
break; } | ||
case vpiBinaryConst: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (c) 2001-2022 Stephen Williams ([email protected]) | ||
* Copyright (c) 2001-2024 Stephen Williams ([email protected]) | ||
* | ||
* This source code is free software; you can redistribute it | ||
* and/or modify it in source code form under the terms of the GNU | ||
|
@@ -670,7 +670,7 @@ static void vthread_free_context(vvp_context_t context, __vpiScope*scope) | |
} | ||
|
||
#ifdef CHECK_WITH_VALGRIND | ||
void contexts_delete(struct __vpiScope*scope) | ||
void contexts_delete(class __vpiScope*scope) | ||
{ | ||
vvp_context_t context = scope->free_contexts; | ||
|
||
|
@@ -751,7 +751,7 @@ static void child_delete(vthread_t base) | |
} | ||
#endif | ||
|
||
void vthreads_delete(struct __vpiScope*scope) | ||
void vthreads_delete(class __vpiScope*scope) | ||
{ | ||
for (std::set<vthread_t>::iterator cur = scope->threads.begin() | ||
; cur != scope->threads.end() ; ++ cur ) { | ||
|