mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Included <cstring> for strcmp
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#include "tests.h"
|
#include "tests.h"
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
void run()
|
void run()
|
||||||
{
|
{
|
||||||
@@ -27,7 +28,7 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
bool verbose = false;
|
bool verbose = false;
|
||||||
for(int i=1;i<argc;i++) {
|
for(int i=1;i<argc;i++) {
|
||||||
if(strcmp(argv[i], "-v") == 0)
|
if(std::strcmp(argv[i], "-v") == 0)
|
||||||
verbose = true;
|
verbose = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user