aboutsummaryrefslogtreecommitdiff
path: root/src/event.cpp
diff options
context:
space:
mode:
authorLibravatar Finrod Felagund <finrod.felagund.97@gmail.com>2024-04-16 16:51:19 +0200
committerLibravatar Finrod Felagund <finrod.felagund.97@gmail.com>2024-04-16 16:57:00 +0200
commitb0a729a0a79040e0c32142007f4e63ef06d7ae30 (patch)
tree56c48670eb5fcf42548fcebb8ddb109eb7eb2f56 /src/event.cpp
parenteca45873a1adbfac46a05fd05199b30a0ce3b6b9 (diff)
use namespaces instead of using specific variables
Diffstat (limited to 'src/event.cpp')
-rw-r--r--src/event.cpp16
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
{