Revert attempt to switch from struct to class

pull/1/head
Clyne 4 years ago committed by GitHub
parent ca567e69d8
commit bb8510a962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,9 +9,8 @@
* @tparam data Expected to be a null-terminated `char` of data to be compressed. * @tparam data Expected to be a null-terminated `char` of data to be compressed.
*/ */
template<auto data> template<auto data>
class huffman_compress struct huffman_compress
{ {
public:
using size_t = unsigned long int; using size_t = unsigned long int;
// Contains the compressed data. // Contains the compressed data.
@ -29,7 +28,6 @@ public:
compress(); compress();
} }
private:
// Node structure used for tree-building. // Node structure used for tree-building.
struct node { struct node {
int value = 0; int value = 0;

Loading…
Cancel
Save