make format

pull/1/head
Jeff Becker 6 years ago
parent 3ace0dfa63
commit 54366c040c
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1,4 +1,3 @@
---
BasedOnStyle: Google
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'true'
@ -30,5 +29,3 @@ SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: Cpp11
UseTab: Never
...

@ -1,20 +1,17 @@
#ifndef LLARP_ROUTING_ENDPOINT_HPP
#define LLARP_ROUTING_ENDPOINT_HPP
#include <llarp/aligned.hpp>
#include <llarp/buffer.h>
#include <llarp/aligned.hpp>
namespace llarp
{
typedef AlignedBuffer< 32 > RoutingEndpoint_t;
/// Interface for end to end crypto between endpoints
struct IRoutingEndpoint
{
virtual ~IRoutingEndpoint(){};
};
}

@ -1,6 +1,6 @@
#include <llarp/crypto_async.h>
#include <llarp/router_contact.h>
#include <llarp/mem.h>
#include <llarp/router_contact.h>
#include <string.h>
#include <llarp/crypto.hpp>
#include "buffer.hpp"
@ -480,5 +480,4 @@ llarp_async_iwp_free(struct llarp_async_iwp *iwp)
{
delete iwp;
}
}

@ -3,7 +3,8 @@
#include <cstdlib>
#include <cstring>
struct llarp_alloc {
struct llarp_alloc
{
void *(*alloc)(struct llarp_alloc *mem, size_t sz, size_t align);
void (*free)(struct llarp_alloc *mem, void *ptr);
};

Loading…
Cancel
Save