8000 Fix the Linux build by adding the missing headers & keywords by matinlotfali · Pull Request #10 · mocap-ca/Open3DStream · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix the Linux build by adding the missing headers & keywords #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions apps/Test1/main.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#pragma once


#include "o3ds/async_publisher.h"
#include "o3ds/model.h"
#include "o3ds/o3ds.h"
#include <chrono>
#include <iostream>
#include <thread>

void verify(std::vector<char> buffer, double rotate, O3DS::SubjectList &subjectList)
{
Expand Down
2 changes: 1 addition & 1 deletion src/o3ds/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ namespace O3DS

// Transform

Transform::Transform(std::string& name, int parentId, void *ref)
Transform::Transform(const std::string& name, int parentId, void *ref)
: bWorldMatrix(false)
, mName(name)
, mParentId(parentId)
Expand Down
4 changes: 2 additions & 2 deletions src/o3ds/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace O3DS
class Transform
{
public:
Transform(std::string& name, int parentId, void *ref = nullptr);
Transform(const std::string& name, int parentId, void *ref = nullptr);

Transform(int parentId);

Expand Down Expand Up @@ -156,7 +156,7 @@ namespace O3DS
Context mContext;
std::string mError;

Transform* addTransform(std::string &name, int parentId, TransformBuilder *builder = nullptr)
Transform* addTransform(const std::string& name, int parentId, TransformBuilder *builder = nullptr)
{
Transform *ret;
if (builder) ret = builder->build(name, parentId);
Expand Down
Loading
0