mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
Removes 'of TObject' to finalize objects not meant for inheritance.
This commit is contained in:
@@ -6,7 +6,7 @@ import db_sqlite, parseutils, strutils, times
|
||||
|
||||
|
||||
type
|
||||
TTodo* = object of TObject
|
||||
TTodo* = object
|
||||
## A todo object holding the information serialized to the database.
|
||||
id: int64 ## Unique identifier of the object in the
|
||||
## database, use the getId() accessor to read it.
|
||||
@@ -17,7 +17,7 @@ type
|
||||
## outside of this module, use the
|
||||
## getModificationDate accessor.
|
||||
|
||||
TPagedParams* = object of TObject
|
||||
TPagedParams* = object
|
||||
## Contains parameters for a query, initialize default values with
|
||||
## initDefaults().
|
||||
pageSize*: int64 ## Lines per returned query page, -1 for
|
||||
|
||||
@@ -42,7 +42,7 @@ type
|
||||
cmdGenerate # Add random rows to the database, for testing.
|
||||
cmdList # User wants to list contents.
|
||||
|
||||
TParamConfig = object of TObject
|
||||
TParamConfig = object
|
||||
# Structure containing the parsed options from the commandline.
|
||||
command: TCommand # Store the type of operation
|
||||
addPriority: int # Only valid with cmdAdd, stores priority.
|
||||
|
||||
Reference in New Issue
Block a user