mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
20 lines
214 B
C++
20 lines
214 B
C++
#pragma once
|
|
|
|
#include <IO/BufferBase.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class SwapHelper
|
|
{
|
|
public:
|
|
SwapHelper(BufferBase & b1_, BufferBase & b2_);
|
|
~SwapHelper();
|
|
|
|
private:
|
|
BufferBase & b1;
|
|
BufferBase & b2;
|
|
};
|
|
|
|
}
|