Bläddra i källkod

Convert to all #pragma once

default_compile_flags
vector-of-bool 5 år sedan
förälder
incheckning
744d8dfd26
4 ändrade filer med 4 tillägg och 16 borttagningar
  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 Visa fil

#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 Visa fil

#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 Visa fil

#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 Visa fil

#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

Laddar…
Avbryt
Spara