From 66ade94fc08cd9f4e62f825f7de32356ae6037b7 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Sun, 1 Nov 2015 10:48:13 +0100 Subject: [PATCH] moved the #pragma once statement --- include/array.h | 6 +++++- include/booleanset.h | 6 +++++- include/channelimpl.h | 6 +++++- include/classes.h | 6 +++++- include/connection.h | 6 +++++- include/connectionhandler.h | 6 +++++- include/connectionimpl.h | 6 +++++- include/decimalfield.h | 6 +++++- include/entityimpl.h | 6 +++++- include/envelope.h | 6 +++++- include/exchangetype.h | 6 +++++- include/field.h | 6 +++++- include/fieldproxy.h | 6 +++++- include/flags.h | 6 +++++- include/login.h | 6 +++++- include/message.h | 6 +++++- include/metadata.h | 6 +++++- include/numericfield.h | 6 +++++- include/outbuffer.h | 6 +++++- include/stringfield.h | 6 +++++- include/table.h | 6 +++++- include/watchable.h | 6 +++++- 22 files changed, 110 insertions(+), 22 deletions(-) diff --git a/include/array.h b/include/array.h index e6b351a..ca32a66 100644 --- a/include/array.h +++ b/include/array.h @@ -1,10 +1,14 @@ -#pragma once /** * AMQP field array * * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/booleanset.h b/include/booleanset.h index eac186b..ab2b070 100644 --- a/include/booleanset.h +++ b/include/booleanset.h @@ -1,4 +1,3 @@ -#pragma once /** * BooleanSet.h * @@ -9,6 +8,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/channelimpl.h b/include/channelimpl.h index 6261827..675d312 100644 --- a/include/channelimpl.h +++ b/include/channelimpl.h @@ -1,4 +1,3 @@ -#pragma once /** * ChannelImpl.h * @@ -9,6 +8,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/classes.h b/include/classes.h index ec9e38e..eec0f8d 100644 --- a/include/classes.h +++ b/include/classes.h @@ -1,4 +1,3 @@ -#pragma once /** * Classes.h * @@ -6,6 +5,11 @@ * */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/connection.h b/include/connection.h index ca816f2..4361346 100644 --- a/include/connection.h +++ b/include/connection.h @@ -1,10 +1,14 @@ -#pragma once /** * Class describing a mid-level Amqp connection * * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/connectionhandler.h b/include/connectionhandler.h index 17b98b2..dcbcd5d 100644 --- a/include/connectionhandler.h +++ b/include/connectionhandler.h @@ -1,4 +1,3 @@ -#pragma once /** * ConnectionHandler.h * @@ -10,6 +9,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/connectionimpl.h b/include/connectionimpl.h index f90a14a..908f6c7 100644 --- a/include/connectionimpl.h +++ b/include/connectionimpl.h @@ -1,4 +1,3 @@ -#pragma once /** * Connection implementation * @@ -9,6 +8,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/decimalfield.h b/include/decimalfield.h index f0171b8..6a6553d 100644 --- a/include/decimalfield.h +++ b/include/decimalfield.h @@ -1,10 +1,14 @@ -#pragma once /** * Decimal field type for AMQP * * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/entityimpl.h b/include/entityimpl.h index be5207d..e84ce84 100644 --- a/include/entityimpl.h +++ b/include/entityimpl.h @@ -1,4 +1,3 @@ -#pragma once /** * EntityImpl.h * @@ -7,6 +6,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Namespace */ diff --git a/include/envelope.h b/include/envelope.h index 6b80d39..10038f4 100644 --- a/include/envelope.h +++ b/include/envelope.h @@ -1,4 +1,3 @@ -#pragma once /** * Envelope.h * @@ -8,6 +7,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/exchangetype.h b/include/exchangetype.h index ea6ade8..8392153 100644 --- a/include/exchangetype.h +++ b/include/exchangetype.h @@ -1,4 +1,3 @@ -#pragma once /** * ExchangeType.h * @@ -7,6 +6,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/field.h b/include/field.h index a7a24ae..12a3e7d 100644 --- a/include/field.h +++ b/include/field.h @@ -1,10 +1,14 @@ -#pragma once /** * Available field types for AMQP * * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/fieldproxy.h b/include/fieldproxy.h index 944d103..44064cd 100644 --- a/include/fieldproxy.h +++ b/include/fieldproxy.h @@ -1,4 +1,3 @@ -#pragma once /** * Field proxy. Returned by the table. Can be casted to the * relevant native type (std::string or numeric) @@ -6,6 +5,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/flags.h b/include/flags.h index 644fbc8..7d8a0bb 100644 --- a/include/flags.h +++ b/include/flags.h @@ -1,4 +1,3 @@ -#pragma once /** * AmqpFlags.h * @@ -6,6 +5,11 @@ * * @copyright 2014 Copernica BV */ + +/** + * Include guard + */ +#pragma once /** * Set up namespace diff --git a/include/login.h b/include/login.h index ea9e771..3d6e095 100644 --- a/include/login.h +++ b/include/login.h @@ -1,4 +1,3 @@ -#pragma once /** * The login information to access a server * @@ -7,6 +6,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/message.h b/include/message.h index 0ac7f38..706aa20 100644 --- a/include/message.h +++ b/include/message.h @@ -1,4 +1,3 @@ -#pragma once /** * Message.h * @@ -11,6 +10,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/metadata.h b/include/metadata.h index 887549f..5b0288f 100644 --- a/include/metadata.h +++ b/include/metadata.h @@ -1,4 +1,3 @@ -#pragma once /** * MetaData.h * @@ -8,6 +7,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/numericfield.h b/include/numericfield.h index 85f268b..b3d803b 100644 --- a/include/numericfield.h +++ b/include/numericfield.h @@ -1,10 +1,14 @@ -#pragma once /** * Numeric field types for AMQP * * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/outbuffer.h b/include/outbuffer.h index 917cc38..28b533c 100644 --- a/include/outbuffer.h +++ b/include/outbuffer.h @@ -1,4 +1,3 @@ -#pragma once /** * OutBuffer.h * @@ -8,6 +7,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/stringfield.h b/include/stringfield.h index 879d597..789f57e 100644 --- a/include/stringfield.h +++ b/include/stringfield.h @@ -1,10 +1,14 @@ -#pragma once /** * String field types for amqp * * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/table.h b/include/table.h index b33f260..b0f63b2 100644 --- a/include/table.h +++ b/include/table.h @@ -1,10 +1,14 @@ -#pragma once /** * AMQP field table * * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */ diff --git a/include/watchable.h b/include/watchable.h index 1b46e42..889a2d7 100644 --- a/include/watchable.h +++ b/include/watchable.h @@ -1,4 +1,3 @@ -#pragma once /** * Watchable.h * @@ -8,6 +7,11 @@ * @copyright 2014 Copernica BV */ +/** + * Include guard + */ +#pragma once + /** * Set up namespace */