summaryrefslogtreecommitdiff
path: root/src/strings/mstring.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/mstring.hpp')
-rw-r--r--src/strings/mstring.hpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/strings/mstring.hpp b/src/strings/mstring.hpp
index 8225d9e..4f40919 100644
--- a/src/strings/mstring.hpp
+++ b/src/strings/mstring.hpp
@@ -1,5 +1,4 @@
-#ifndef TMWA_STRINGS_MSTRING_HPP
-#define TMWA_STRINGS_MSTRING_HPP
+#pragma once
// strings/mstring.hpp - A mutable string.
//
// Copyright © 2013 Ben Longbons <b.r.longbons@gmail.com>
@@ -19,12 +18,13 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+#include "fwd.hpp"
-# include <deque>
+#include <deque>
-# include "base.hpp"
+namespace tmwa
+{
namespace strings
{
/// An owning string that is still expected to change.
@@ -64,5 +64,4 @@ namespace strings
char& back();
};
} // namespace strings
-
-#endif // TMWA_STRINGS_MSTRING_HPP
+} // namespace tmwa