Skip to content

Commit 80a31f5

Browse files
committed
break the file
1 parent dec73a3 commit 80a31f5

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
thread-comments: true
4545
ignore: 'build|cmake_modules|ci'
4646
database: build/compile_commands.json
47+
extra-args: '-std=c++20 -Wall'
4748
- name: Fail fast?!
4849
if: steps.linter.outputs.checks-failed != 0
4950
run: |

api/iceberg/table.h

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,24 @@
2020
#pragma once
2121

2222
#include <memory>
23-
#include <string_view>
23+
24+
25+
26+
#include <string_view>
2427

2528
namespace iceberg {
2629

27-
class Table {
28-
public:
29-
virtual ~Table() = default;
30-
virtual std::string_view print() const = 0;
31-
static std::unique_ptr<Table> create();
30+
class Table {
31+
public:
32+
virtual ~Table( ) = default;
33+
34+
virtual std::string_view print() const = 0;
35+
36+
37+
static std::unique_ptr<Table> create();
38+
39+
private:
40+
int SOME_ID = 1;
3241
};
3342

3443
} // namespace iceberg

0 commit comments

Comments
 (0)