Make C++ literals available everywhere in `llarp`

pull/1124/head
Jason Rhinelander 4 years ago
parent 561bfe24c0
commit 5c95971335

@ -16,8 +16,6 @@
#include <functional>
#include <random>
using namespace std::chrono_literals;
namespace llarp
{
void

@ -5,7 +5,6 @@
#include <chrono>
#include <chrono>
using namespace std::chrono_literals;
namespace llarp
{

@ -1,10 +1,16 @@
#ifndef LLARP_TYPES_H
#define LLARP_TYPES_H
#include <cstdint>
#include <string>
using byte_t = uint8_t;
using llarp_proto_version_t = std::uint8_t;
using llarp_time_t = std::uint64_t;
using llarp_seconds_t = std::uint64_t;
namespace llarp
{
using namespace std::literals;
}
#endif

Loading…
Cancel
Save