HorusCli: put internal functions in an anonymous namespace
This commit is contained in:
parent
e3439af0a0
commit
74a9eda09d
@ -8,6 +8,7 @@
|
||||
#include "BeliefProp.h"
|
||||
#include "CountingBp.h"
|
||||
|
||||
namespace {
|
||||
|
||||
int readHorusFlags (int, const char* []);
|
||||
|
||||
@ -21,6 +22,9 @@ void runSolver (const Horus::FactorGraph&, const Horus::VarIds&);
|
||||
const std::string usage = "usage: ./hcli [solver=hve|bp|cbp] \
|
||||
[<OPTION>=<VALUE>]... <FILE> [<VAR>|<VAR>=<EVIDENCE>]... " ;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
int
|
||||
main (int argc, const char* argv[])
|
||||
@ -58,6 +62,8 @@ main (int argc, const char* argv[])
|
||||
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
int
|
||||
readHorusFlags (int argc, const char* argv[])
|
||||
{
|
||||
@ -207,3 +213,5 @@ runSolver (
|
||||
delete solver;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user