remove traces of callback.h

This commit is contained in:
Laurent Perron
2019-01-05 08:52:41 +01:00
parent 475b7932af
commit 1c290f078a
7 changed files with 0 additions and 14615 deletions

View File

@@ -25,7 +25,6 @@
#include <memory>
#include <string>
#include "ortools/base/callback.h"
#include "ortools/base/commandlineflags.h"
#include "ortools/base/filelineiter.h"
#include "ortools/base/logging.h"

View File

@@ -42,7 +42,6 @@
#include "absl/strings/str_format.h"
#include "absl/strings/str_split.h"
#include "google/protobuf/text_format.h"
#include "ortools/base/callback.h"
#include "ortools/base/commandlineflags.h"
#include "ortools/base/file.h"
#include "ortools/base/mathutil.h"

View File

@@ -30,7 +30,6 @@
#include "absl/memory/memory.h"
#include "absl/strings/str_cat.h"
#include "google/protobuf/text_format.h"
#include "ortools/base/callback.h"
#include "ortools/base/commandlineflags.h"
#include "ortools/base/integral_types.h"
#include "ortools/base/random.h"

View File

@@ -5,7 +5,6 @@ BASE_DEPS = \
$(SRC_DIR)/ortools/base/base_export.h \
$(SRC_DIR)/ortools/base/basictypes.h \
$(SRC_DIR)/ortools/base/bitmap.h \
$(SRC_DIR)/ortools/base/callback.h \
$(SRC_DIR)/ortools/base/canonical_errors.h \
$(SRC_DIR)/ortools/base/cleanup.h \
$(SRC_DIR)/ortools/base/commandlineflags.h \
@@ -43,7 +42,6 @@ BASE_DEPS = \
BASE_LIB_OBJS = \
$(OBJ_DIR)/base/bitmap.$O \
$(OBJ_DIR)/base/callback.$O \
$(OBJ_DIR)/base/file.$O \
$(OBJ_DIR)/base/random.$O \
$(OBJ_DIR)/base/recordio.$O \
@@ -56,11 +54,6 @@ objs/base/bitmap.$O: ortools/base/bitmap.cc ortools/base/bitmap.h \
ortools/base/logging.h ortools/base/macros.h | $(OBJ_DIR)/base
$(CCC) $(CFLAGS) -c $(SRC_DIR)$Sortools$Sbase$Sbitmap.cc $(OBJ_OUT)$(OBJ_DIR)$Sbase$Sbitmap.$O
objs/base/callback.$O: ortools/base/callback.cc ortools/base/callback.h \
ortools/base/logging.h ortools/base/integral_types.h \
ortools/base/macros.h | $(OBJ_DIR)/base
$(CCC) $(CFLAGS) -c $(SRC_DIR)$Sortools$Sbase$Scallback.cc $(OBJ_OUT)$(OBJ_DIR)$Sbase$Scallback.$O
objs/base/file.$O: ortools/base/file.cc ortools/base/file.h \
ortools/base/integral_types.h ortools/base/logging.h \
ortools/base/macros.h ortools/base/status.h | $(OBJ_DIR)/base

View File

@@ -131,16 +131,6 @@ cc_library(
],
)
cc_library(
name = "callback",
hdrs = [
"callback.h",
],
deps = [
":base",
],
)
cc_library(
name = "filelinereader",
srcs = [

View File

@@ -1,23 +0,0 @@
// Copyright 2010-2018 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "ortools/base/callback.h"
namespace operations_research {
void CallbackUtils_::FailIsRepeatable(const char* name) {
LOG(FATAL) << "A " << name
<< " made with NewCallback() "
"is not a repeatable callback!";
}
} // namespace operations_research

File diff suppressed because it is too large Load Diff