Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Data/DataTable.cpp (1 of 9 files). Show all
Unified · Split
| @@ -85,9 +85,9 @@ const DataColumnPtr& DataTable::operator[](int32_t index) const · 84 unmodified lines | |||
| 85 | return Column(index); | 85 | return Column(index); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | DataColumnPtr DataTable::CreateColumn(const string& name, DataType type) | 88 | DataColumnPtr DataTable::CreateColumn(const string& name, DataType type, string expression) |
| 89 | { | 89 | { |
| 90 | return NewSharedPtr<DataColumn, DataTablePtr, string, DataType>(shared_from_this(), name, type); | 90 | return NewSharedPtr<DataColumn, DataTablePtr, string, DataType>(shared_from_this(), name, type, expression); |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | int32_t DataTable::ColumnCount() const | 93 | int32_t DataTable::ColumnCount() const |