File tree 3 files changed +16
-2
lines changed
include/pytorch/tokenizers
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
#pragma once
2
10
3
11
#include < memory>
@@ -38,7 +46,6 @@ class Pcre2Regex : public IRegex {
38
46
*/
39
47
bool ok () const override ;
40
48
41
- protected:
42
49
/* *
43
50
* @brief Expose internal PCRE2 pointer to the factory if needed.
44
51
*/
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ class Re2Regex : public IRegex {
39
39
*/
40
40
bool ok () const override ;
41
41
42
- protected:
43
42
/* *
44
43
* @brief Expose internal RE2 pointer to the factory if needed.
45
44
*/
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
#include < iostream>
2
10
#include < vector>
3
11
You can’t perform that action at this time.
0 commit comments