diff options
author | Finrod Felagund <finrod.felagund.97@gmail.com> | 2024-04-16 16:51:19 +0200 |
---|---|---|
committer | Finrod Felagund <finrod.felagund.97@gmail.com> | 2024-04-16 16:57:00 +0200 |
commit | b0a729a0a79040e0c32142007f4e63ef06d7ae30 (patch) | |
tree | 56c48670eb5fcf42548fcebb8ddb109eb7eb2f56 /src/event.cpp | |
parent | eca45873a1adbfac46a05fd05199b30a0ce3b6b9 (diff) |
use namespaces instead of using specific variables
Diffstat (limited to 'src/event.cpp')
-rw-r--r-- | src/event.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/event.cpp b/src/event.cpp index 2df1c3a..cf6b117 100644 --- a/src/event.cpp +++ b/src/event.cpp @@ -1,24 +1,12 @@ #include <ctime> #include <openssl/evp.h> -#include <iomanip> -#include <sstream> -#include <string> #include <nlohmann/json.hpp> #include <openssl/sha.h> #include "nostr.hpp" -using nlohmann::json; -using std::hex; -using std::invalid_argument; -using std::make_shared; -using std::ostringstream; -using std::setw; -using std::setfill; -using std::shared_ptr; -using std::string; -using std::stringstream; -using std::time; +using namespace nlohmann; +using namespace std; namespace nostr { |