Skip to content

Commit 4f8d445

Browse files
author
martin
committed
Upgrade from a warning in the comments to a protected constructor.
1 parent 2b9c880 commit 4f8d445

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/analyses/ai_domain.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,16 @@ Author: Daniel Kroening, [email protected]
2323
class ai_baset;
2424

2525
/// The interface offered by a domain, allows code to manipulate domains without
26-
/// knowing their exact type.
27-
// don't use me -- I am just a base class
28-
// please derive from me
26+
/// knowing their exact type. Derive from this to implement domains.
2927
class ai_domain_baset
3028
{
31-
public:
29+
protected:
3230
// The constructor is expected to produce 'false' or 'bottom'
3331
ai_domain_baset()
3432
{
3533
}
3634

35+
public:
3736
virtual ~ai_domain_baset()
3837
{
3938
}

0 commit comments

Comments
 (0)