fix header order
fixed the lint rule and includes the extra header we needed
Esse commit está contido em:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário