1 // Copyright (C) 2019 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) 2 // This Source Code Form is subject to the terms of the Mozilla Public 3 // License, v. 2.0. If a copy of the MPL was not distributed with this 4 // file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 6 #include "../include/policy_manager_impl.hpp" 7 8 namespace vsomeip_v3 { 9 10 std::shared_ptr<policy_manager> get()11policy_manager::get() { 12 static std::shared_ptr<policy_manager> the_policy_manager 13 = std::make_shared<policy_manager_impl>(); 14 return the_policy_manager; 15 } 16 17 } // namespace vsomeip_v3 18