Skip to content

Commit

Permalink
Auto-update from libvoxelstorm: latest updates from Project Raindrop …
Browse files Browse the repository at this point in the history
…(6cfa0af)
  • Loading branch information
slowriot committed Dec 10, 2024
1 parent 7a80042 commit 471f1a3
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 52 deletions.
5 changes: 1 addition & 4 deletions logstorm/log_line_helper.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_LOG_LINE_HELPER_H_INCLUDED
#define LOGSTORM_LOG_LINE_HELPER_H_INCLUDED
#pragma once

#include <memory>
#include <vector>
Expand Down Expand Up @@ -33,5 +32,3 @@ inline constexpr log_line_helper &log_line_helper::operator<<(T const &rhs) {
}

}

#endif // LOGSTORM_LOG_LINE_HELPER_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/logstorm.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_H_INCLUDED
#define LOGSTORM_H_INCLUDED
#pragma once

/// Defines:
/// LOGSTORM_SINGLE_THREADED - Don't use synchronisation to protect sinks.
Expand All @@ -15,5 +14,3 @@
#include "sink/fstream.h"
#include "sink/file.h"
#include "sink/circular_buffer.h"

#endif // LOGSTORM_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/logstorm_forward.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_FORWARD_H_INCLUDED
#define LOGSTORM_FORWARD_H_INCLUDED
#pragma once

namespace logstorm {

Expand All @@ -17,5 +16,3 @@ class circular_buffer;
class manager;

}

#endif // LOGSTORM_FORWARD_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/manager.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_MANAGER_H_INCLUDED
#define LOGSTORM_MANAGER_H_INCLUDED
#pragma once

#include <memory>
#include <type_traits>
Expand Down Expand Up @@ -91,5 +90,3 @@ logstorm::manager manager::build_with_sink(Args&&... args) {
}

}

#endif // LOGSTORM_MANAGER_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/sink/base.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_SINK_BASE_H_INCLUDED
#define LOGSTORM_SINK_BASE_H_INCLUDED
#pragma once

#include <string>
#include "logstorm/timestamp.h"
Expand All @@ -24,5 +23,3 @@ class base {
};

}

#endif // LOGSTORM_SINK_BASE_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/sink/circular_buffer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef CIRCULAR_BUFFER_H_INCLUDED
#define CIRCULAR_BUFFER_H_INCLUDED
#pragma once

#include "base.h"
#ifndef GUISTORM_SINGLETHREADED
Expand All @@ -26,5 +25,3 @@ class circular_buffer : public base {
};

}

#endif // CIRCULAR_BUFFER_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/sink/console.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_SINK_CONSOLE_H_INCLUDED
#define LOGSTORM_SINK_CONSOLE_H_INCLUDED
#pragma once

#include "base.h"
#ifndef LOGSTORM_SINGLE_THREADED
Expand All @@ -23,5 +22,3 @@ class console : public base {
};

}

#endif // LOGSTORM_SINK_CONSOLE_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/sink/console_err.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_SINK_CONSOLE_ERR_H_INCLUDED
#define LOGSTORM_SINK_CONSOLE_ERR_H_INCLUDED
#pragma once

#include "base.h"
#ifndef LOGSTORM_SINGLE_THREADED
Expand All @@ -23,5 +22,3 @@ class console_err : public base {
};

}

#endif // LOGSTORM_SINK_CONSOLE_ERR_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/sink/dummy.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_SINK_DUMMY_H_INCLUDED
#define LOGSTORM_SINK_DUMMY_H_INCLUDED
#pragma once

#include "base.h"
#include "logstorm/timestamp.h"
Expand All @@ -17,5 +16,3 @@ class dummy : public base {
};

}

#endif // LOGSTORM_SINK_DUMMY_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/sink/file.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_SINK_file_H_INCLUDED
#define LOGSTORM_SINK_file_H_INCLUDED
#pragma once

#include "base.h"
#include <fstream>
Expand All @@ -25,5 +24,3 @@ class file : public base {
};

}

#endif // LOGSTORM_SINK_file_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/sink/fstream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_SINK_FSTREAM_H_INCLUDED
#define LOGSTORM_SINK_FSTREAM_H_INCLUDED
#pragma once

#include "base.h"
#include <fstream>
Expand All @@ -25,5 +24,3 @@ class fstream : public base {
};

}

#endif // LOGSTORM_SINK_FSTREAM_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/sink/stream.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_SINK_STREAM_H_INCLUDED
#define LOGSTORM_SINK_STREAM_H_INCLUDED
#pragma once

#include "base.h"
#include <ostream>
Expand All @@ -25,5 +24,3 @@ class stream : public base {
};

}

#endif // LOGSTORM_SINK_STREAM_H_INCLUDED
5 changes: 1 addition & 4 deletions logstorm/timestamp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LOGSTORM_TIMESTAMP_H_INCLUDED
#define LOGSTORM_TIMESTAMP_H_INCLUDED
#pragma once

#include <chrono>
#include <iomanip>
Expand Down Expand Up @@ -73,5 +72,3 @@ class timestamp {
};

}

#endif // LOGSTORM_TIMESTAMP_H_INCLUDED

0 comments on commit 471f1a3

Please sign in to comment.