f(void) vs f()
"In fact, the f(void) style has been called an "abomination" by Bjarne Stroustrup, the creator of C++, Dennis Ritchie, the co-creator of C, and Doug McIlroy, head of the research department where Unix was born."
This commit is contained in:
@@ -56,7 +56,7 @@ BayesBallGraph::getNode (VarId vid)
|
||||
|
||||
|
||||
void
|
||||
BayesBallGraph::setIndexes (void)
|
||||
BayesBallGraph::setIndexes()
|
||||
{
|
||||
for (size_t i = 0; i < nodes_.size(); i++) {
|
||||
nodes_[i]->setIndex (i);
|
||||
@@ -66,7 +66,7 @@ BayesBallGraph::setIndexes (void)
|
||||
|
||||
|
||||
void
|
||||
BayesBallGraph::clear (void)
|
||||
BayesBallGraph::clear()
|
||||
{
|
||||
for (size_t i = 0; i < nodes_.size(); i++) {
|
||||
nodes_[i]->clear();
|
||||
|
Reference in New Issue
Block a user