Skip to content

Commit 438b519

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Namespace doesn't need to be followed by semicolon
Summary: Auto-generated with ``` fbgs "}; // namespace" -l | sort | uniq | sed 's/fbsource.//' | xargs -n 50 sed -i 's_}; // namespace_} // namespace_' ``` Reviewed By: dmm-fb Differential Revision: D51029740 fbshipit-source-id: 177e3f6e6b0ab7e986b1147952cd5e2f59d4b1fc
1 parent 9a66532 commit 438b519

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

faiss/Clustering.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ int split_clusters(
250250
return nsplit;
251251
}
252252

253-
}; // namespace
253+
} // namespace
254254

255255
void Clustering::train_encoded(
256256
idx_t nx,
@@ -617,7 +617,7 @@ void copy_columns(idx_t n, idx_t d1, const float* src, idx_t d2, float* dest) {
617617
}
618618
}
619619

620-
}; // namespace
620+
} // namespace
621621

622622
void ProgressiveDimClustering::train(
623623
idx_t n,

faiss/IndexIVFSpectralHash.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void binarize_with_freq(
157157
}
158158
}
159159

160-
}; // namespace
160+
} // namespace
161161

162162
void IndexIVFSpectralHash::encode_vectors(
163163
idx_t n,

faiss/impl/AdditiveQuantizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,4 @@ struct AdditiveQuantizer : Quantizer {
203203
virtual ~AdditiveQuantizer();
204204
};
205205

206-
}; // namespace faiss
206+
} // namespace faiss

faiss/impl/ProductAdditiveQuantizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,4 @@ struct ProductResidualQuantizer : ProductAdditiveQuantizer {
151151
ProductResidualQuantizer();
152152
};
153153

154-
}; // namespace faiss
154+
} // namespace faiss

faiss/impl/ResidualQuantizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,4 +155,4 @@ struct ResidualQuantizer : AdditiveQuantizer {
155155
std::vector<float> cent_norms;
156156
};
157157

158-
}; // namespace faiss
158+
} // namespace faiss

faiss/invlists/InvertedLists.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ idx_t translate_list_no(const SliceInvertedLists* sil, idx_t list_no) {
437437
return list_no + sil->i0;
438438
}
439439

440-
}; // namespace
440+
} // namespace
441441

442442
SliceInvertedLists::SliceInvertedLists(
443443
const InvertedLists* il,
@@ -522,7 +522,7 @@ idx_t sum_il_sizes(int nil, const InvertedLists** ils_in) {
522522
return tot;
523523
}
524524

525-
}; // namespace
525+
} // namespace
526526

527527
VStackInvertedLists::VStackInvertedLists(int nil, const InvertedLists** ils_in)
528528
: ReadOnlyInvertedLists(

faiss/python/python_callbacks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct PyThreadLock {
2222
}
2323
};
2424

25-
}; // namespace
25+
} // namespace
2626

2727
/***********************************************************
2828
* Callbacks for IO reader and writer

faiss/utils/sorting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ void parallel_merge(
123123
}
124124
}
125125

126-
}; // namespace
126+
} // namespace
127127

128128
void fvec_argsort(size_t n, const float* vals, size_t* perm) {
129129
for (size_t i = 0; i < n; i++) {

0 commit comments

Comments
 (0)