Skip to content

Commit 2396697

Browse files
committed
fix lint issue
1 parent 2915edc commit 2396697

File tree

10 files changed

+36
-8
lines changed

10 files changed

+36
-8
lines changed

baidusearch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace serpapi
66
using namespace std;
77
BaiduSearch::BaiduSearch(map<string,string> parameter, string apiKey): SerpApiSearch(parameter, apiKey, "baidu")
88
{
9-
};
9+
}
1010
}

bingsearch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace serpapi
66
using namespace std;
77
BingSearch::BingSearch(map<string,string> parameter, string apiKey): SerpApiSearch(parameter, apiKey, "bing")
88
{
9-
};
9+
}
1010
}

googlesearch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace serpapi
66
using namespace std;
77
GoogleSearch::GoogleSearch(map<string,string> parameter, string apiKey): SerpApiSearch(parameter, apiKey, "google")
88
{
9-
};
9+
}
1010
}

homedepotsearch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace serpapi
66
using namespace std;
77
HomedepotSearch::HomedepotSearch(map<string,string> parameter, string apiKey): SerpApiSearch(parameter, apiKey, "homedepot")
88
{
9-
};
9+
}
1010
}

linkedinsearch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace serpapi
66
using namespace std;
77
LinkedinSearch::LinkedinSearch(map<string,string> parameter, string apiKey): SerpApiSearch(parameter, apiKey, "linkedin")
88
{
9-
};
9+
}
1010
}

walmartsearch.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#include <serpapisearch.hpp>
2+
#include <walmartsearch.hpp>
3+
4+
namespace serpapi
5+
{
6+
using namespace std;
7+
WalmartSearch::WalmartSearch(map<string,string> parameter, string apiKey): SerpApiSearch(parameter, apiKey, "walmart")
8+
{
9+
}
10+
}

walmartsearch.hpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#ifndef SERPAPI_WALMART_SEARCH
2+
#define SERPAPI_WALMART_SEARCH
3+
4+
#include <iostream>
5+
#include <string>
6+
#include <map>
7+
#include <serpapisearch.hpp>
8+
9+
namespace serpapi
10+
{
11+
using namespace std;
12+
class WalmartSearch : public SerpApiSearch
13+
{
14+
public:
15+
WalmartSearch(map<string,string> parameter, string apiKey);
16+
};
17+
}
18+
#endif

yahoosearch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace serpapi
66
using namespace std;
77
YahooSearch::YahooSearch(map<string,string> parameter, string apiKey): SerpApiSearch(parameter, apiKey, "yahoo")
88
{
9-
};
9+
}
1010
}

yandexsearch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace serpapi
66
using namespace std;
77
YandexSearch::YandexSearch(map<string,string> parameter, string apiKey): SerpApiSearch(parameter, apiKey, "yandex")
88
{
9-
};
9+
}
1010
}

youtubesearch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ namespace serpapi
66
using namespace std;
77
YoutubeSearch::YoutubeSearch(map<string,string> parameter, string apiKey): SerpApiSearch(parameter, apiKey, "youtube")
88
{
9-
};
9+
}
1010
}

0 commit comments

Comments
 (0)