Compiles now
This commit is contained in:
		@@ -9,6 +9,7 @@
 | 
			
		||||
#include "Page.hpp"
 | 
			
		||||
 | 
			
		||||
#include <iostream>
 | 
			
		||||
#include <format>
 | 
			
		||||
 | 
			
		||||
#include "stringutil.hpp"
 | 
			
		||||
#include "cpr/cpr.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -9,11 +9,14 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <vector>
 | 
			
		||||
#include <string>
 | 
			
		||||
#include <cstdint>
 | 
			
		||||
 | 
			
		||||
static constexpr uint_fast8_t DEFAULT_NUMBER = 100;
 | 
			
		||||
static constexpr uint_fast8_t MAX_WHITESPACE = 2;
 | 
			
		||||
 | 
			
		||||
class Page {
 | 
			
		||||
class Page
 | 
			
		||||
{
 | 
			
		||||
private:
 | 
			
		||||
    uint_fast8_t number{};
 | 
			
		||||
    std::vector<std::string> subpages;
 | 
			
		||||
@@ -31,7 +34,6 @@ public:
 | 
			
		||||
 | 
			
		||||
    std::string str() const;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    bool refresh();
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,7 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
#include <cstdint>
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @brief String utility functions.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user