Compiles now
This commit is contained in:
parent
f9dc3628f4
commit
2295fdc3ce
7
.vscode/settings.json
vendored
Normal file
7
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"iostream": "cpp",
|
||||
"vector": "cpp",
|
||||
"format": "cpp"
|
||||
}
|
||||
}
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user