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

#ifndef DDS_LOGGING_HPP_INCLUDED
#define DDS_LOGGING_HPP_INCLUDED
#pragma once


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

#endif // DDS_LOGGING_HPP_INCLUDED

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

#ifndef DDS_PROC_HPP_INCLUDED
#define DDS_PROC_HPP_INCLUDED
#pragma once


#include <string> #include <string>
#include <string_view> #include <string_view>
proc_result run_proc(const std::vector<std::string>& args); proc_result run_proc(const std::vector<std::string>& args);


} // namespace dds } // namespace dds

#endif // DDS_PROC_HPP_INCLUDED

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

#ifndef DDS_TOOLCHAIN_HPP_INCLUDED
#define DDS_TOOLCHAIN_HPP_INCLUDED
#pragma once


#include <dds/util/fs.hpp> #include <dds/util/fs.hpp>


}; };


} // namespace dds } // namespace dds

#endif // DDS_TOOLCHAIN_HPP_INCLUDED

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

#ifndef DDS_UTIL_TEST_HPP_INCLUDED
#define DDS_UTIL_TEST_HPP_INCLUDED
#pragma once


#include <iostream> #include <iostream>


static_assert(true) static_assert(true)


} // namespace dds } // namespace dds

#endif // DDS_UTIL_TEST_HPP_INCLUDED

Loading…
Cancel
Save