Skip to content

Commit

Permalink
Remove an argument "reference_table" from the constructor of ColumnBase.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yata committed Nov 6, 2014
1 parent 5766ea9 commit ad4ea4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 2 additions & 3 deletions lib/grnxx/impl/column/base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ namespace impl {

ColumnBase::ColumnBase(Table *table,
const String &name,
DataType data_type,
Table *reference_table)
DataType data_type)
: ColumnInterface(),
table_(table),
name_(name),
data_type_(data_type),
reference_table_(reference_table),
reference_table_(nullptr),
is_key_(false),
indexes_() {}

Expand Down
5 changes: 1 addition & 4 deletions lib/grnxx/impl/column/base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ class ColumnBase : public ColumnInterface {
public:
// -- Public API (grnxx/column.hpp) --

ColumnBase(Table *table,
const String &name,
DataType data_type,
Table *reference_table = nullptr);
ColumnBase(Table *table, const String &name, DataType data_type);
virtual ~ColumnBase();

TableInterface *table() const;
Expand Down

0 comments on commit ad4ea4f

Please sign in to comment.