]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/YesNoNone.cc
2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
10 #include "YesNoNone.h"
12 YesNoNone::operator void*() const
14 assert(option
!= 0); // must call configure() first
15 return option
> 0 ? (void*)this : NULL
;
19 YesNoNone::configure(bool beSet
)
21 option
= beSet
? +1 : -1;