diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-28 19:46:18 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-28 19:46:18 +0000 |
commit | 21361a5df873316c55c3e4e494249377149b2334 (patch) | |
tree | 410c4f3b4475ee721a412302d51cf27529530e30 /crawl-ref/source/sqldbm.h | |
parent | b94440dcf7c44d70948fb30166651cc0c13145b9 (diff) | |
download | crawl-ref-21361a5df873316c55c3e4e494249377149b2334.tar.gz crawl-ref-21361a5df873316c55c3e4e494249377149b2334.zip |
Add whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7054 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/sqldbm.h')
-rw-r--r-- | crawl-ref/source/sqldbm.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/sqldbm.h b/crawl-ref/source/sqldbm.h index 38078483b1..07a03550d1 100644 --- a/crawl-ref/source/sqldbm.h +++ b/crawl-ref/source/sqldbm.h @@ -38,13 +38,13 @@ public: virtual ~sql_datum(); sql_datum &operator = (const sql_datum &other); - + std::string to_str() const; public: char *dptr; // Canonically void*, but we're not a real Berkeley DB. size_t dsize; - + private: bool need_free; @@ -61,13 +61,13 @@ public: ~SQL_DBM(); bool is_open() const; - + int open(const std::string &db = ""); void close(); - + std::auto_ptr<std::string> firstkey(); std::auto_ptr<std::string> nextkey(); - + std::string query(const std::string &key); int insert(const std::string &key, const std::string &value); @@ -83,7 +83,7 @@ private: int init_insert(); int init_schema(); int ec(int err); - + private: sqlite3 *db; sqlite3_stmt *s_insert; |