g13d: More cleanups

Double underbars are reserved for the compiler and system, so we shouldn't use
them for header guards. Additionally, remove a bunch of these line breaks.
This commit is contained in:
June Tate-Gans 2021-04-25 21:12:26 -05:00
parent 22cd1c9351
commit b81ec75c82
4 changed files with 4 additions and 15 deletions

View File

@ -55,4 +55,4 @@ class CommandException : public std::exception {
} // namespace G13 } // namespace G13
#endif // __G13_H__ #endif // G13_H

View File

@ -28,8 +28,8 @@
* *
*/ */
#ifndef __HELPER_HPP__ #ifndef HELPER_HPP
#define __HELPER_HPP__ #define HELPER_HPP
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>
@ -44,12 +44,8 @@
#include <string> #include <string>
#include <vector> #include <vector>
// *************************************************************************
namespace Helper { namespace Helper {
// *************************************************************************
template <class MAP_T> template <class MAP_T>
struct _map_keys_out { struct _map_keys_out {
_map_keys_out(const MAP_T &c, const std::string &s) : container(c), sep(s) { _map_keys_out(const MAP_T &c, const std::string &s) : container(c), sep(s) {
@ -79,10 +75,6 @@ _map_keys_out<MAP_T> map_keys_out(const MAP_T &c,
return _map_keys_out<MAP_T>(c, sep); return _map_keys_out<MAP_T>(c, sep);
}; };
// *************************************************************************
}; // namespace Helper }; // namespace Helper
// ************************************************************************* #endif // HELPER_HPP
#endif // __HELPER_HPP__

View File

@ -60,8 +60,6 @@ class Manager {
static void set_stop(int); static void set_stop(int);
}; };
// *************************************************************************
// inlines // inlines
inline Manager &Action::manager() { inline Manager &Action::manager() {

View File

@ -13,7 +13,6 @@
#include "repr.h" #include "repr.h"
namespace G13 { namespace G13 {
// *************************************************************************
void Key::dump(std::ostream &o) const { void Key::dump(std::ostream &o) const {
o << manager().find_g13_key_name(index()) << "(" << index() << ") : "; o << manager().find_g13_key_name(index()) << "(" << index() << ") : ";