X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=include%2Fintrusive_list.h;h=5f55591c7731e41e6d70cbcdc932ef652dd25801;hb=0a329440bd1d0fa642ce2f3e14bc88125377b5bd;hp=88f3c6829c2dda877bf3d19a97d346d2a0b6e11e;hpb=f62654a6859998f9d63eb22702c572d5ebcff15c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/intrusive_list.h b/include/intrusive_list.h index 88f3c6829..5f55591c7 100644 --- a/include/intrusive_list.h +++ b/include/intrusive_list.h @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2013-2014 Attila Molnar + * Copyright (C) 2014 Attila Molnar * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -21,6 +21,9 @@ #include +namespace insp +{ + struct intrusive_list_def_tag { }; template class intrusive_list; @@ -52,6 +55,8 @@ class intrusive_list_node friend class intrusive_list_tail; }; +} // namespace insp + // Intrusive list where the list only has a pointer to the head element #define INSPIRCD_INTRUSIVE_LIST_NAME intrusive_list #include "intrusive_list_impl.h"