Run clang-format

This commit is contained in:
Bassem Girgis
2018-10-18 00:40:34 -05:00
parent fffe4528da
commit 31c32e368a
149 changed files with 5974 additions and 6287 deletions

View File

@@ -1,23 +1,13 @@
class X
{
class X {
private:
int* data;
int* data;
public:
X():
data(new int[1000000])
{}
~X()
{
delete [] data;
}
X(const X& other):
data(new int[1000000])
{
std::copy(other.data,other.data+1000000,data);
}
X(X&& other):
data(other.data)
{
other.data=nullptr;
}
X() : data(new int[1000000]) {}
~X() { delete[] data; }
X(const X& other) : data(new int[1000000])
{
std::copy(other.data, other.data + 1000000, data);
}
X(X&& other) : data(other.data) { other.data = nullptr; }
};