use init_google.h in c++ examples
This commit is contained in:
@@ -36,11 +36,10 @@
|
||||
#include "absl/container/flat_hash_map.h"
|
||||
#include "absl/container/flat_hash_set.h"
|
||||
#include "absl/flags/flag.h"
|
||||
#include "absl/flags/parse.h"
|
||||
#include "absl/flags/usage.h"
|
||||
#include "absl/random/uniform_int_distribution.h"
|
||||
#include "absl/strings/str_cat.h"
|
||||
#include "absl/strings/str_format.h"
|
||||
#include "ortools/base/init_google.h"
|
||||
#include "ortools/base/integral_types.h"
|
||||
#include "ortools/base/logging.h"
|
||||
#include "ortools/graph/shortestpaths.h"
|
||||
@@ -678,8 +677,7 @@ class NetworkRoutingSolver {
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
absl::SetFlag(&FLAGS_logtostderr, true);
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
absl::ParseCommandLine(argc, argv);
|
||||
InitGoogle(argv[0], &argc, &argv, true);
|
||||
|
||||
operations_research::sat::NetworkRoutingData data;
|
||||
operations_research::sat::NetworkRoutingDataBuilder builder(
|
||||
|
||||
Reference in New Issue
Block a user