Switch from header guards to pragma once

This commit is contained in:
Dominik Charousset 2019-09-17 14:10:30 +02:00
parent 83180a2553
commit c1f3fe7829
254 changed files with 260 additions and 1008 deletions

View file

@ -1,7 +1,6 @@
// See the file "COPYING" in the main distribution directory for copyright.
#ifndef PROBABILISTIC_BITVECTOR_H
#define PROBABILISTIC_BITVECTOR_H
#pragma once
#include <iterator>
#include <vector>
@ -356,5 +355,3 @@ private:
};
}
#endif

View file

@ -1,7 +1,6 @@
// See the file "COPYING" in the main distribution directory for copyright.
#ifndef PROBABILISTIC_BLOOMFILTER_H
#define PROBABILISTIC_BLOOMFILTER_H
#pragma once
#include <vector>
@ -227,5 +226,3 @@ private:
};
}
#endif

View file

@ -1,7 +1,6 @@
// See the file "COPYING" in the main distribution directory for copyright.
#ifndef PROBABILISTIC_CARDINALITYCOUNTER_H
#define PROBABILISTIC_CARDINALITYCOUNTER_H
#pragma once
#include <stdint.h>
#include <memory>
@ -186,5 +185,3 @@ private:
};
}
#endif

View file

@ -1,7 +1,6 @@
// See the file "COPYING" in the main distribution directory for copyright.
#ifndef PROBABILISTIC_COUNTERVECTOR_H
#define PROBABILISTIC_COUNTERVECTOR_H
#pragma once
#include <cstddef>
#include <cstdint>
@ -154,5 +153,3 @@ private:
};
}
#endif

View file

@ -1,7 +1,6 @@
// See the file "COPYING" in the main distribution directory for copyright.
#ifndef PROBABILISTIC_HASHER_H
#define PROBABILISTIC_HASHER_H
#pragma once
#include <broker/data.hh>
#include <broker/expected.hh>
@ -258,5 +257,3 @@ private:
};
}
#endif

View file

@ -1,7 +1,6 @@
// See the file "COPYING" in the main distribution directory for copyright.
#ifndef topk_h
#define topk_h
#pragma once
#include <list>
#include "Val.h"
@ -173,5 +172,3 @@ private:
};
};
#endif