diff options
Diffstat (limited to 'Swiften/Queries/DummyIQChannel.h')
-rw-r--r-- | Swiften/Queries/DummyIQChannel.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Swiften/Queries/DummyIQChannel.h b/Swiften/Queries/DummyIQChannel.h index e327beb..92b7f2b 100644 --- a/Swiften/Queries/DummyIQChannel.h +++ b/Swiften/Queries/DummyIQChannel.h @@ -4,8 +4,7 @@ * See Documentation/Licenses/GPLv3.txt for more information. */ -#ifndef SWIFTEN_DummyIQChannel_H -#define SWIFTEN_DummyIQChannel_H +#pragma once #include <vector> @@ -24,12 +23,10 @@ namespace Swift { return "test-id"; } - virtual bool isAvailable() { + virtual bool isAvailable() const { return true; } std::vector<boost::shared_ptr<IQ> > iqs_; }; } - -#endif |