kopia lustrzana https://gitlab.com/tomaszg/geostat
clang-format
rodzic
816c94049a
commit
48e43613d1
12
common.h
12
common.h
|
@ -45,11 +45,15 @@ uint find_streak(const Date_Caches& cc, std::time_t& start);
|
|||
|
||||
uint get_num(char c, char* opt);
|
||||
|
||||
template <typename T> void average_html(const Caches& cc, T Cache::*ptr, const std::string& caption);
|
||||
template <typename T> float average(const Caches& cc, T Cache::*ptr);
|
||||
template <typename T>
|
||||
void average_html(const Caches& cc, T Cache::*ptr, const std::string& caption);
|
||||
template <typename T>
|
||||
float average(const Caches& cc, T Cache::*ptr);
|
||||
|
||||
template <typename T> void sum_html(const Caches& cc, T Cache::*ptr, const std::string& caption);
|
||||
template <typename T> T sum(const Caches& cc, T Cache::*ptr);
|
||||
template <typename T>
|
||||
void sum_html(const Caches& cc, T Cache::*ptr, const std::string& caption);
|
||||
template <typename T>
|
||||
T sum(const Caches& cc, T Cache::*ptr);
|
||||
|
||||
int count_caches(const Caches& cc, std::string& codes, std::function<bool(const Cache& c)> test);
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@ void show_usage() {
|
|||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
if (argc < 3) show_usage();
|
||||
|
||||
User user1, user2;
|
||||
|
|
|
@ -13,7 +13,6 @@ void show_usage() {
|
|||
}
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
||||
#include "config_user.h"
|
||||
|
||||
if (argc == 1) show_usage();
|
||||
|
@ -104,4 +103,3 @@ int main(int argc, char** argv) {
|
|||
|
||||
footer_html();
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,6 @@ int main(int argc, char** argv) {
|
|||
|
||||
if (argc == 1) show_usage();
|
||||
|
||||
|
||||
int o;
|
||||
while ((o = getopt(argc, argv, "qNOQD:o::p:d:u:n:r:k:i:f:H:s:m:etah?")) != -1)
|
||||
switch (o) {
|
||||
|
|
1
user.cpp
1
user.cpp
|
@ -5,7 +5,6 @@
|
|||
#include "debug.h"
|
||||
|
||||
void User::get_caches() {
|
||||
|
||||
if (use_oc) {
|
||||
if (!ocpl_user_uuid.empty() || !ocpl_user.empty()) {
|
||||
Okapi OCpl(ocpl);
|
||||
|
|
Ładowanie…
Reference in New Issue