DEADSOFTWARE

Precompile .ih files and cache dependencies based on .ih files
[odcread.git] / store / store.cc
index 6f44e8525457c8135b7eafc9c773753fc93a545f..a967518550e594006e06d24ded0ebbe16157605c 100644 (file)
@@ -1,30 +1,7 @@
-#include <store.h>
-#include <reader.h>
-#include <visitor.h>
-
-#include <iostream>
-
+#include "store/store.ih"
 
 namespace odc {
 
-template<class T, class A> T join(const A & begin, const A & end, const T &sep) {
-       T result;
-
-       if (begin != end) {
-               A it = begin;
-               result.append(*it);
-               for (++it; it != end; ++it) {
-                       result.append(sep).append(*it);
-               }
-       }
-
-       return result;
-}
-
-std::string TypePath::toString() const {
-       return join(begin(), end(), std::string("->"));
-}
-
 const std::string Store::TYPENAME("Stores.Store^");
 const TopTypeProxy<Store> Store::PROXY;