Big cleanup of rampant using std.
This commit is contained in:
parent
fcd1225370
commit
453c50c563
15 changed files with 49 additions and 40 deletions
|
@ -3,6 +3,8 @@
|
|||
#include <git2.h>
|
||||
#include <string> // for operator+, to_string
|
||||
|
||||
using std::string;
|
||||
|
||||
class UpdateListener : public efsw::FileWatchListener {
|
||||
public:
|
||||
bool changes = false;
|
||||
|
@ -11,10 +13,10 @@ class UpdateListener : public efsw::FileWatchListener {
|
|||
UpdateListener(git_repository *r) : repo(r) {};
|
||||
|
||||
void handleFileAction(efsw::WatchID watchid,
|
||||
const std::string& dir,
|
||||
const std::string& filename,
|
||||
const string& dir,
|
||||
const string& filename,
|
||||
efsw::Action action,
|
||||
std::string oldFilename) override;
|
||||
string oldFilename) override;
|
||||
|
||||
void reset_state();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue