mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 12:22:12 +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;
|
|
};
|
|
|
|
}
|