Add wextra level warnings.
This commit is contained in:
parent
e559f9674d
commit
119ea6f2cc
62 changed files with 235 additions and 231 deletions
|
@ -4,8 +4,8 @@ const TruthTable::TableData TruthTable::AND_TRUTH_TABLE = { {{0, 0}, {0}} };
|
|||
|
||||
TruthTable TruthTable::getAndTruthTable()
|
||||
{
|
||||
TruthTable table(2, 1);
|
||||
table.setTable(AND_TRUTH_TABLE);
|
||||
return table;
|
||||
TruthTable table(2, 1);
|
||||
table.setTable(AND_TRUTH_TABLE);
|
||||
return table;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ class TruthTable
|
|||
public:
|
||||
using TableData = std::map<std::vector<bool>, std::vector<bool> >;
|
||||
|
||||
TruthTable(std::size_t numInputColumns, std::size_t numOutputColumns)
|
||||
TruthTable(std::size_t, std::size_t)
|
||||
//: mNumInputColumns(numInputColumns),
|
||||
// mNumOutputColumns(numOutputColumns)
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@ void ElectronicCircuitNode::setContent(ElectronicCircuit* content)
|
|||
mContentDirty = true;
|
||||
}
|
||||
|
||||
void ElectronicCircuitNode::createOrUpdateGeometry(SceneInfo* sceneInfo)
|
||||
void ElectronicCircuitNode::createOrUpdateGeometry(SceneInfo*)
|
||||
{
|
||||
mInputTerminalNodes.clear();
|
||||
mWireNodes.clear();
|
||||
|
|
|
@ -33,7 +33,7 @@ void LogicGateNode::update(SceneInfo* sceneInfo)
|
|||
}
|
||||
}
|
||||
|
||||
void LogicGateNode::createOrUpdateGeometry(SceneInfo* sceneInfo)
|
||||
void LogicGateNode::createOrUpdateGeometry(SceneInfo*)
|
||||
{
|
||||
if (!mPrimaryPath)
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ void TerminalNode::setContent(Terminal* terminal)
|
|||
mContent = terminal;
|
||||
}
|
||||
|
||||
void TerminalNode::createOrUpdateGeometry(SceneInfo* sceneInfo)
|
||||
void TerminalNode::createOrUpdateGeometry(SceneInfo*)
|
||||
{
|
||||
if (!mMarker)
|
||||
{
|
||||
|
@ -32,4 +32,4 @@ void TerminalNode::update(SceneInfo* sceneInfo)
|
|||
createOrUpdateGeometry(sceneInfo);
|
||||
mContentDirty = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue