fix header order

fixed the lint rule and includes the extra header we needed
Esse commit está contido em:
Paul Tarjan
2013-06-09 11:11:09 -07:00
commit de sgolemon
commit 1b47c9fdd2
2 arquivos alterados com 6 adições e 5 exclusões
+1 -1
Ver Arquivo
@@ -14,8 +14,8 @@
+----------------------------------------------------------------------+
*/
#include "hphp/runtime/vm/repo.h"
#include "hphp/runtime/vm/repo_helpers.h"
#include "hphp/runtime/vm/repo.h"
#include "hphp/runtime/vm/blob_helper.h"
#include "hphp/runtime/base/builtin_functions.h"
+5 -4
Ver Arquivo
@@ -21,6 +21,7 @@
#include <sqlite3.h>
#include "hphp/runtime/base/md5.h"
#include "hphp/runtime/vm/core_types.h"
namespace HPHP {
@@ -61,7 +62,7 @@ class RepoExc : public std::exception {
class RepoStmt {
public:
RepoStmt(Repo& repo);
explicit RepoStmt(Repo& repo);
~RepoStmt();
private:
void finalize();
@@ -83,7 +84,7 @@ class RepoStmt {
// queries outside of transactions are fraught with peril.
class RepoQuery {
public:
RepoQuery(RepoStmt& stmt)
explicit RepoQuery(RepoStmt& stmt)
: m_stmt(stmt), m_row(false), m_done(false) {
assert(m_stmt.prepared());
}
@@ -192,7 +193,7 @@ class RepoTxnQuery : public RepoQuery {
class RepoProxy {
public:
RepoProxy(Repo& repo) : m_repo(repo) {}
explicit RepoProxy(Repo& repo) : m_repo(repo) {}
~RepoProxy() {}
protected:
@@ -206,6 +207,6 @@ class RepoProxy {
Repo& m_repo;
};
}
}
#endif