Cosmetic fixes
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "Util.h"
|
||||
#include "Horus.h"
|
||||
|
||||
@@ -14,7 +12,8 @@ using namespace std;
|
||||
|
||||
struct VarInfo
|
||||
{
|
||||
VarInfo (string l, const States& sts) : label(l), states(sts) { }
|
||||
VarInfo (string l, const States& sts)
|
||||
: label(l), states(sts) { }
|
||||
string label;
|
||||
States states;
|
||||
};
|
||||
@@ -55,8 +54,7 @@ class Var
|
||||
|
||||
bool operator!= (const Var& var) const
|
||||
{
|
||||
assert (!(varId_ == var.varId() && range_ != var.range()));
|
||||
return varId_ != var.varId();
|
||||
return !(*this == var);
|
||||
}
|
||||
|
||||
bool isValidState (int);
|
||||
@@ -86,7 +84,7 @@ class Var
|
||||
|
||||
static bool varsHaveInfo (void)
|
||||
{
|
||||
return varsInfo_.size() != 0;
|
||||
return varsInfo_.empty() == false;
|
||||
}
|
||||
|
||||
static void clearVarsInfo (void)
|
||||
|
Reference in New Issue
Block a user