X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffiltered.h;h=98cda4740a1700c3e41903156fce1de3c088f9b2;hp=e3ff219834aac6641260b58abb324353b0bd041a;hb=49c1f3c3ffdf318579a809f3f800442c0c76c818;hpb=528bc5708065a8c6d21c49fd64473570e974aee0 diff --git a/source/filtered.h b/source/filtered.h index e3ff219..98cda47 100644 --- a/source/filtered.h +++ b/source/filtered.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspio -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_IO_FILTERED_H_ #define MSP_IO_FILTERED_H_ @@ -19,8 +12,8 @@ private: { Filtered &f; - Activator(Filtered &f_): f(f_) { f.active=true; } - ~Activator() { f.active=false; } + Activator(Filtered &f_): f(f_) { f.active = true; } + ~Activator() { f.active = false; } }; F filter; @@ -28,7 +21,7 @@ private: public: Filtered(): filter(*this), active(false) { } - ~Filtered() { active=true; } + ~Filtered() { active = true; } template Filtered(A0 a0): B(a0), filter(*this), active(false) { }