summaryrefslogtreecommitdiff
path: root/include/gras/detail/element.hpp
blob: 2b97c8f7848ab6a04e3403a1626c769626fa0295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information.

#ifndef INCLUDED_GRAS_DETAIL_ELEMENT_HPP
#define INCLUDED_GRAS_DETAIL_ELEMENT_HPP

namespace gras
{
    template <typename T>
    inline Element::Element(const boost::shared_ptr<T> &elem)
    {
        *this = elem->shared_to_element();
    }

} //namespace gras

#endif /*INCLUDED_GRAS_DETAIL_ELEMENT_HPP*/