Staticise a file-local function.
It is not needed outside this function. We should, arguably, be using an anonymous namespace in this case.
This commit is contained in:
parent
b334dbcdd8
commit
f8a11ef7e1
@ -147,7 +147,7 @@ static bool convertKeyword( const std::string& inputFile , const std::string& ou
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
bool parseFile(const std::string& inputFile, std::string& outputFile, const std::string& indent = "") {
|
static bool parseFile(const std::string& inputFile, std::string& outputFile, const std::string& indent = "") {
|
||||||
bool updateFile = false;
|
bool updateFile = false;
|
||||||
std::cout << indent << "Parsing " << inputFile << "\n";
|
std::cout << indent << "Parsing " << inputFile << "\n";
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user