Browse Source

Convert to all #pragma once

default_compile_flags
vector-of-bool 5 years ago
parent
commit
744d8dfd26
4 changed files with 4 additions and 16 deletions
  1. +1
    -4
      src/dds/logging.hpp
  2. +1
    -4
      src/dds/proc.hpp
  3. +1
    -4
      src/dds/toolchain/toolchain.hpp
  4. +1
    -4
      src/dds/util.test.hpp

+ 1
- 4
src/dds/logging.hpp View File

@@ -1,8 +1,5 @@
#ifndef DDS_LOGGING_HPP_INCLUDED
#define DDS_LOGGING_HPP_INCLUDED
#pragma once

#include <spdlog/fmt/ostr.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>

#endif // DDS_LOGGING_HPP_INCLUDED

+ 1
- 4
src/dds/proc.hpp View File

@@ -1,5 +1,4 @@
#ifndef DDS_PROC_HPP_INCLUDED
#define DDS_PROC_HPP_INCLUDED
#pragma once

#include <string>
#include <string_view>
@@ -34,5 +33,3 @@ struct proc_result {
proc_result run_proc(const std::vector<std::string>& args);

} // namespace dds

#endif // DDS_PROC_HPP_INCLUDED

+ 1
- 4
src/dds/toolchain/toolchain.hpp View File

@@ -1,5 +1,4 @@
#ifndef DDS_TOOLCHAIN_HPP_INCLUDED
#define DDS_TOOLCHAIN_HPP_INCLUDED
#pragma once

#include <dds/util/fs.hpp>

@@ -90,5 +89,3 @@ public:
};

} // namespace dds

#endif // DDS_TOOLCHAIN_HPP_INCLUDED

+ 1
- 4
src/dds/util.test.hpp View File

@@ -1,5 +1,4 @@
#ifndef DDS_UTIL_TEST_HPP_INCLUDED
#define DDS_UTIL_TEST_HPP_INCLUDED
#pragma once

#include <iostream>

@@ -43,5 +42,3 @@ struct requirement_failed {};
static_assert(true)

} // namespace dds

#endif // DDS_UTIL_TEST_HPP_INCLUDED

Loading…
Cancel
Save