From 7af4c5b5c561362cb1135ab504095ae667a9270a Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 27 Jun 2014 19:16:45 -0700 Subject: This is more reliable --- src/net/ip.hpp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'src/net/ip.hpp') diff --git a/src/net/ip.hpp b/src/net/ip.hpp index 9afc691..e9e71f4 100644 --- a/src/net/ip.hpp +++ b/src/net/ip.hpp @@ -1,5 +1,4 @@ -#ifndef TMWA_NET_IP_HPP -#define TMWA_NET_IP_HPP +#pragma once // ip.hpp - classes to deal with IP addresses. // // Copyright © 2013 Ben Longbons @@ -19,14 +18,14 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -# include "fwd.hpp" +#include "fwd.hpp" -# include +#include -# include -# include +#include +#include -# include "../strings/fwd.hpp" +#include "../strings/fwd.hpp" namespace tmwa @@ -165,5 +164,3 @@ bool extract(XString str, IP4Address *iv); bool extract(XString str, IP4Mask *iv); } // namespace tmwa - -#endif // TMWA_NET_IP_HPP -- cgit v1.2.3-60-g2f50