Big cleanup of rampant using std.

This commit is contained in:
Zed A. Shaw 2024-09-07 22:26:57 -04:00
parent fcd1225370
commit 453c50c563
15 changed files with 49 additions and 40 deletions

View file

@ -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();
};