Skip to content

Commit d7b9968

Browse files
Add const to DataLoader::IsBuildResponseReady()
#codehealth PiperOrigin-RevId: 620827132
1 parent a1121b3 commit d7b9968

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/engine/data_loader.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ void DataLoader::MaybeBuildNewData() {
225225
}
226226
}
227227

228-
bool DataLoader::IsBuildResponseReady() {
228+
bool DataLoader::IsBuildResponseReady() const {
229229
return loader_response_future_ && loader_response_future_->Ready();
230230
}
231231

src/engine/data_loader.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class DataLoader {
9696
void MaybeBuildNewData();
9797

9898
// Returns true if a new data loader response is ready.
99-
bool IsBuildResponseReady();
99+
bool IsBuildResponseReady() const;
100100

101101
// Maybe move the data loader response to the caller.
102102
// Otherwise nullptr is returned.

0 commit comments

Comments
 (0)